hackrf: fix build
It was using libusb-compat instead of libusb1, and the former no longer propagates the latter. Also move cmake to nativeBuildInputs.
This commit is contained in:
parent
f613cea0f7
commit
ac46ffbcfc
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, cmake, pkgconfig, libusb, fftwSinglePrec }:
|
||||
{ stdenv, fetchFromGitHub, cmake, pkgconfig, libusb1, fftwSinglePrec }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "hackrf";
|
||||
@ -11,9 +11,14 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0idh983xh6gndk9kdgx5nzz76x3mxb42b02c5xvdqahadsfx3b9w";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
pkgconfig
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
cmake libusb fftwSinglePrec
|
||||
libusb1
|
||||
fftwSinglePrec
|
||||
];
|
||||
|
||||
cmakeFlags = [ "-DUDEV_RULES_GROUP=plugdev" "-DUDEV_RULES_PATH=lib/udev/rules.d" ];
|
||||
|
Loading…
Reference in New Issue
Block a user