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