1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00

gnuradio-with-packages: build gsm and limesdr only on linux

This allows to build gnuradio-with-packages again on darwin

* libosmocore: remove darwin from platforms
* gnuradio-limesdr: remove darwin from platforms
This commit is contained in:
Markus Kowalewski 2018-12-08 19:37:48 +01:00
parent 0534ed2c59
commit 09f9e5456b
No known key found for this signature in database
GPG key ID: D865C8A91D7025EB
4 changed files with 5 additions and 4 deletions

View file

@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
description = "Gnuradio block for gsm";
homepage = https://github.com/ptrkrysik/gr-gsm;
license = licenses.gpl3Plus;
platforms = platforms.linux ++ platforms.darwin;
platforms = platforms.linux;
maintainers = with maintainers; [ mog ];
};
}

View file

@ -32,7 +32,7 @@ in stdenv.mkDerivation rec {
description = "Gnuradio source and sink blocks for LimeSDR";
homepage = https://wiki.myriadrf.org/Gr-limesdr_Plugin_for_GNURadio;
license = licenses.mit;
platforms = platforms.linux ++ platforms.darwin;
platforms = platforms.linux;
maintainers = [ maintainers.markuskowa ];
};
}

View file

@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
description = "libosmocore";
homepage = https://github.com/osmocom/libosmocore;
license = licenses.gpl2Plus;
platforms = platforms.linux ++ platforms.darwin;
platforms = platforms.linux;
maintainers = with maintainers; [ mog ];
};
}

View file

@ -16848,7 +16848,8 @@ in
gnuradio-with-packages = callPackage ../applications/misc/gnuradio/wrapper.nix {
inherit (python2Packages) python;
extraPackages = [ gnuradio-nacl gnuradio-osmosdr gnuradio-gsm gnuradio-ais gnuradio-rds gnuradio-limesdr ];
extraPackages = [ gnuradio-nacl gnuradio-osmosdr gnuradio-ais gnuradio-rds ]
++ lib.optionals stdenv.isLinux [ gnuradio-gsm gnuradio-limesdr ];
};
gnuradio-nacl = callPackage ../applications/misc/gnuradio/nacl.nix { };