nixpkgs/pkgs/applications/radio/qsstv/default.nix

37 lines
929 B
Nix
Raw Normal View History

{ mkDerivation, lib, fetchurl, qtbase, qmake, openjpeg, pkg-config, fftw,
2020-01-05 14:40:04 +00:00
libpulseaudio, alsaLib, hamlib, libv4l, fftwFloat }:
2018-07-31 20:22:08 +01:00
2020-01-05 14:33:15 +00:00
mkDerivation rec {
version = "9.4.4";
pname = "qsstv";
2018-07-31 20:22:08 +01:00
src = fetchurl {
url = "http://users.telenet.be/on4qz/qsstv/downloads/qsstv_${version}.tar.gz";
2020-01-05 14:33:15 +00:00
sha256 = "0f9hx6sy418cb23fadll298pqbc5l2lxsdivi4vgqbkvx7sw58zi";
2018-07-31 20:22:08 +01:00
};
enableParallelBuilding = true;
nativeBuildInputs = [
qmake
pkg-config
2018-07-31 20:22:08 +01:00
];
buildInputs = [ qtbase openjpeg fftw libpulseaudio alsaLib hamlib libv4l
fftwFloat ];
2020-01-05 14:40:04 +00:00
postInstall = ''
2018-07-31 20:22:08 +01:00
# Install desktop icon
install -D qsstv/icons/qsstv.png $out/share/pixmaps/qsstv.png
'';
meta = with lib; {
2018-07-31 20:22:08 +01:00
description = "Qt-based slow-scan TV and fax";
homepage = "http://users.telenet.be/on4qz/";
2018-07-31 20:22:08 +01:00
platforms = platforms.linux;
2021-01-15 05:42:41 +00:00
license = lib.licenses.gpl3;
maintainers = with lib.maintainers; [ hax404 ];
2018-07-31 20:22:08 +01:00
};
}