2021-02-05 17:12:51 +00:00
|
|
|
{ mkDerivation, lib, fetchurl, qtbase, qmake, openjpeg, pkg-config, fftw,
|
2021-06-28 23:13:55 +00:00
|
|
|
libpulseaudio, alsa-lib, hamlib, libv4l, fftwFloat }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
mkDerivation rec {
|
|
|
|
version = "9.4.4";
|
|
|
|
pname = "qsstv";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://users.telenet.be/on4qz/qsstv/downloads/qsstv_${version}.tar.gz";
|
|
|
|
sha256 = "0f9hx6sy418cb23fadll298pqbc5l2lxsdivi4vgqbkvx7sw58zi";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
qmake
|
2021-02-05 17:12:51 +00:00
|
|
|
pkg-config
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
2021-06-28 23:13:55 +00:00
|
|
|
buildInputs = [ qtbase openjpeg fftw libpulseaudio alsa-lib hamlib libv4l
|
2020-04-24 23:36:52 +00:00
|
|
|
fftwFloat ];
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
# Install desktop icon
|
|
|
|
install -D qsstv/icons/qsstv.png $out/share/pixmaps/qsstv.png
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Qt-based slow-scan TV and fax";
|
|
|
|
homepage = "http://users.telenet.be/on4qz/";
|
|
|
|
platforms = platforms.linux;
|
2021-01-15 22:18:51 +00:00
|
|
|
license = lib.licenses.gpl3;
|
|
|
|
maintainers = with lib.maintainers; [ hax404 ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|