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"; description = "Gnuradio block for gsm";
homepage = https://github.com/ptrkrysik/gr-gsm; homepage = https://github.com/ptrkrysik/gr-gsm;
license = licenses.gpl3Plus; license = licenses.gpl3Plus;
platforms = platforms.linux ++ platforms.darwin; platforms = platforms.linux;
maintainers = with maintainers; [ mog ]; maintainers = with maintainers; [ mog ];
}; };
} }

View File

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

View File

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

View File

@ -16848,7 +16848,8 @@ in
gnuradio-with-packages = callPackage ../applications/misc/gnuradio/wrapper.nix { gnuradio-with-packages = callPackage ../applications/misc/gnuradio/wrapper.nix {
inherit (python2Packages) python; 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 { }; gnuradio-nacl = callPackage ../applications/misc/gnuradio/nacl.nix { };