inspectrum: Refactor to use gnuradioMinimal.pkgs.mkDerivation

Use the same deps of gnuradioMinimal - thanks to gnuradio's
mkDerivation.
This commit is contained in:
Doron Behar 2020-12-15 12:24:56 +02:00
parent 99c3bdb9b6
commit 9545bbadfa
2 changed files with 10 additions and 13 deletions

@ -1,17 +1,14 @@
{ lib
, mkDerivation
, gnuradioMinimal
, fetchFromGitHub
, pkg-config
, cmake
, boost
, fftwFloat
, gnuradio
, qt5
, liquid-dsp
, qtbase
, wrapQtAppsHook
}:
mkDerivation rec {
gnuradioMinimal.pkgs.mkDerivation rec {
pname = "inspectrum";
version = "0.2.3";
@ -22,13 +19,15 @@ mkDerivation rec {
sha256 = "1x6nyn429pk0f7lqzskrgsbq09mq5787xd4piic95add6n1cc355";
};
nativeBuildInputs = [ cmake pkg-config wrapQtAppsHook ];
nativeBuildInputs = [
cmake
qt5.wrapQtAppsHook
pkg-config
];
buildInputs = [
fftwFloat
boost
gnuradio
liquid-dsp
qtbase
qt5.qtbase
];
meta = with lib; {

@ -23250,9 +23250,7 @@ in
inkscape-extensions = recurseIntoAttrs (callPackages ../applications/graphics/inkscape/extensions.nix {});
inspectrum = libsForQt514.callPackage ../applications/radio/inspectrum {
gnuradio = gnuradioMinimal;
};
inspectrum = callPackage ../applications/radio/inspectrum { };
ion3 = callPackage ../applications/window-managers/ion-3 {
lua = lua5_1;