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.
This commit is contained in:
Peter Hoeg 2021-03-31 22:01:08 +08:00
parent 3d1a7716d7
commit 22baca7dfb

View File

@ -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 ];
buildInputs = [ libpulseaudio libX11 ];
nativeBuildInputs = [ qmake4Hook ];
qmakeFlags = [ "multimon-ng.pro" ];
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 ];
};
}