mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
airspy: enable Darwin building
improves #32378 which disabled gnuradio-osmosdr on darwin
This commit is contained in:
parent
a8d515add5
commit
f944977387
1 changed files with 4 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchFromGitHub
|
||||
{ stdenv, lib, fetchFromGitHub
|
||||
, cmake , pkgconfig, libusb
|
||||
}:
|
||||
|
||||
|
@ -22,13 +22,14 @@ in
|
|||
nativeBuildInputs = [ cmake pkgconfig ];
|
||||
buildInputs = [ libusb ];
|
||||
|
||||
cmakeFlags = [ "-DINSTALL_UDEV_RULES=ON" ];
|
||||
cmakeFlags =
|
||||
lib.optionals stdenv.isLinux [ "-DINSTALL_UDEV_RULES=ON" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://github.com/airspy/airspyone_host;
|
||||
description = "Host tools and driver library for the AirSpy SDR";
|
||||
license = licenses.free;
|
||||
platforms = platforms.linux;
|
||||
platforms = with platforms; linux ++ darwin;
|
||||
maintainers = with maintainers; [ markuskowa ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue