Merge pull request #44323 from hax404/add/qsstv

qsstv: init 9.2.6

authored by Jörg Thalheim and committed by GitHub b9fafcfc 5828cb3a

+61
+5
maintainers/maintainer-list.nix
··· 1590 github = "havvy"; 1591 name = "Ryan Scheel"; 1592 }; 1593 hbunke = { 1594 email = "bunke.hendrik@gmail.com"; 1595 github = "hbunke";
··· 1590 github = "havvy"; 1591 name = "Ryan Scheel"; 1592 }; 1593 + hax404 = { 1594 + email = "hax404foogit@hax404.de"; 1595 + github = "hax404"; 1596 + name = "Georg Haas"; 1597 + }; 1598 hbunke = { 1599 email = "bunke.hendrik@gmail.com"; 1600 github = "hbunke";
+54
pkgs/applications/misc/qsstv/default.nix
···
··· 1 + { stdenv, fetchurl, qtbase, qmake, makeDesktopItem, openjpeg, pkgconfig, fftw, 2 + libpulseaudio, alsaLib, hamlib, libv4l, fftwFloat }: 3 + 4 + stdenv.mkDerivation rec { 5 + version = "9.2.6"; 6 + name = "qsstv-${version}"; 7 + 8 + src = fetchurl { 9 + url = "http://users.telenet.be/on4qz/qsstv/downloads/qsstv_${version}.tar.gz"; 10 + sha256 = "0sx70yk389fq5djvjwnam6ics5knmg9b5x608bk2sjbfxkila108"; 11 + }; 12 + 13 + enableParallelBuilding = true; 14 + 15 + nativeBuildInputs = [ 16 + qmake 17 + pkgconfig 18 + ]; 19 + 20 + buildInputs = [ qtbase openjpeg fftw libpulseaudio alsaLib hamlib libv4l 21 + fftwFloat ]; 22 + 23 + desktopItem = makeDesktopItem { 24 + name = "QSSTV"; 25 + exec = "qsstv"; 26 + icon = "qsstv.png"; 27 + comment = "Qt-based slow-scan TV and fax"; 28 + desktopName = "QSSTV"; 29 + genericName = "qsstv"; 30 + categories = "Application;HamRadio;"; 31 + }; 32 + 33 + installPhase = '' 34 + # Install binary to the right location 35 + make install INSTALL_ROOT=$out 36 + mv $out/usr/bin $out/ 37 + rm -r $out/usr 38 + 39 + # Install desktop icon 40 + install -D qsstv/icons/qsstv.png $out/share/pixmaps/qsstv.png 41 + 42 + # Install desktop item 43 + cp -rv ${desktopItem}/share $out 44 + ''; 45 + 46 + meta = with stdenv.lib; { 47 + description = "Qt-based slow-scan TV and fax"; 48 + homepage = http://users.telenet.be/on4qz/; 49 + platforms = platforms.linux; 50 + license = stdenv.lib.licenses.gpl3; 51 + maintainers = with stdenv.lib.maintainers; [ hax404 ]; 52 + }; 53 + } 54 +
+2
pkgs/top-level/all-packages.nix
··· 18045 qt = qt4; 18046 }; 18047 18048 qsyncthingtray = libsForQt5.callPackage ../applications/misc/qsyncthingtray { }; 18049 18050 qstopmotion = libsForQt5.callPackage ../applications/video/qstopmotion { };
··· 18045 qt = qt4; 18046 }; 18047 18048 + qsstv = qt5.callPackage ../applications/misc/qsstv { }; 18049 + 18050 qsyncthingtray = libsForQt5.callPackage ../applications/misc/qsyncthingtray { }; 18051 18052 qstopmotion = libsForQt5.callPackage ../applications/video/qstopmotion { };