diff options
author | Peter Hoeg <peter@hoeg.com> | 2021-03-31 22:01:08 +0800 |
---|---|---|
committer | Peter Hoeg <peter@hoeg.com> | 2021-04-06 10:35:48 +0800 |
commit | 22baca7dfb478571d2fcc0302c8cb78dd64bbe49 (patch) | |
tree | 95f05e7b849ab6ca3e035c53b20f26972d18945e /pkgs/applications/radio/multimon-ng | |
parent | 3d1a7716d7f1fccbd7d30ab3b2ed3db831f43bde (diff) |
multimon-ng: drop qt4
qt4 was used to pull in X11 dependencies as well as qmake, but as upstream now supports cmake, just use that and be specific about the X11 dependency.
Diffstat (limited to 'pkgs/applications/radio/multimon-ng')
-rw-r--r-- | pkgs/applications/radio/multimon-ng/default.nix | 23 |
1 files changed, 7 insertions, 16 deletions
diff --git a/pkgs/applications/radio/multimon-ng/default.nix b/pkgs/applications/radio/multimon-ng/default.nix index aea0944b29b45..67d7dbea17405 100644 --- a/pkgs/applications/radio/multimon-ng/default.nix +++ b/pkgs/applications/radio/multimon-ng/default.nix @@ -1,10 +1,8 @@ -{ lib, stdenv, fetchFromGitHub, qt4, qmake4Hook, libpulseaudio }: -let - version = "1.1.9"; -in -stdenv.mkDerivation { +{ lib, stdenv, fetchFromGitHub, cmake, libpulseaudio, libX11 }: + +stdenv.mkDerivation rec { pname = "multimon-ng"; - inherit version; + version = "1.1.9"; src = fetchFromGitHub { owner = "EliasOenal"; @@ -13,16 +11,9 @@ stdenv.mkDerivation { sha256 = "01716cfhxfzsab9zjply9giaa4nn4b7rm3p3vizrwi7n253yiwm2"; }; - buildInputs = [ qt4 libpulseaudio ]; - - nativeBuildInputs = [ qmake4Hook ]; - - qmakeFlags = [ "multimon-ng.pro" ]; + buildInputs = [ libpulseaudio libX11 ]; - installPhase = '' - mkdir -p $out/bin - cp multimon-ng $out/bin - ''; + nativeBuildInputs = [ cmake ]; meta = with lib; { description = "Multimon is a digital baseband audio protocol decoder"; @@ -39,6 +30,6 @@ stdenv.mkDerivation { homepage = "https://github.com/EliasOenal/multimon-ng"; license = licenses.gpl2Only; platforms = platforms.linux; - maintainers = [ maintainers.markuskowa ]; + maintainers = with maintainers; [ markuskowa ]; }; } |