diff options
author | markuskowa <markus.kowalewski@gmail.com> | 2020-01-08 23:35:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-08 23:35:14 +0100 |
commit | 568fd9c1917ec0918ddde79be85513af6a991120 (patch) | |
tree | f46c0f39d624f395dfeddaed72f08cce89a09503 /pkgs | |
parent | a0b86e3b64b24d7992c3ba42b910b37704efe75a (diff) | |
parent | 304d6cf8e78c917324dfaa89bb481e69256ce118 (diff) |
Merge pull request #76991 from hax404/qsstv
qsstv: 9.2.6 -> 9.4.4; cleanup
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/applications/radio/qsstv/default.nix | 28 |
1 files changed, 5 insertions, 23 deletions
diff --git a/pkgs/applications/radio/qsstv/default.nix b/pkgs/applications/radio/qsstv/default.nix index db1bfbb3f89ee..a4ef5a2a0d1bf 100644 --- a/pkgs/applications/radio/qsstv/default.nix +++ b/pkgs/applications/radio/qsstv/default.nix @@ -1,13 +1,13 @@ -{ stdenv, fetchurl, qtbase, qmake, makeDesktopItem, openjpeg, pkgconfig, fftw, +{ mkDerivation, stdenv, fetchurl, qtbase, qmake, openjpeg, pkgconfig, fftw, libpulseaudio, alsaLib, hamlib, libv4l, fftwFloat }: -stdenv.mkDerivation rec { - version = "9.2.6"; +mkDerivation rec { + version = "9.4.4"; pname = "qsstv"; src = fetchurl { url = "http://users.telenet.be/on4qz/qsstv/downloads/qsstv_${version}.tar.gz"; - sha256 = "0sx70yk389fq5djvjwnam6ics5knmg9b5x608bk2sjbfxkila108"; + sha256 = "0f9hx6sy418cb23fadll298pqbc5l2lxsdivi4vgqbkvx7sw58zi"; }; enableParallelBuilding = true; @@ -20,27 +20,9 @@ stdenv.mkDerivation rec { buildInputs = [ qtbase openjpeg fftw libpulseaudio alsaLib hamlib libv4l fftwFloat ]; - desktopItem = makeDesktopItem { - name = "QSSTV"; - exec = "qsstv"; - icon = "qsstv.png"; - comment = "Qt-based slow-scan TV and fax"; - desktopName = "QSSTV"; - genericName = "qsstv"; - categories = "Application;HamRadio;"; - }; - - installPhase = '' - # Install binary to the right location - make install INSTALL_ROOT=$out - mv $out/usr/bin $out/ - rm -r $out/usr - + postInstall = '' # Install desktop icon install -D qsstv/icons/qsstv.png $out/share/pixmaps/qsstv.png - - # Install desktop item - cp -rv ${desktopItem}/share $out ''; meta = with stdenv.lib; { |