3
0
Fork 0
forked from mirrors/nixpkgs

neopg: fix build

It was using libusb-compat instead of libusb1, and the former no longer propagates the latter.

Also move cmake and gettext to nativeBuildInputs.
This commit is contained in:
Jan Tojnar 2020-04-04 11:05:00 +02:00
parent 8edcff87f2
commit df28c41854
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4

View file

@ -7,7 +7,7 @@
, curl
, gettext
, pkgconfig
, libusb
, libusb1
, gnutls }:
stdenv.mkDerivation rec {
@ -22,9 +22,9 @@ stdenv.mkDerivation rec {
fetchSubmodules = true;
};
nativeBuildInputs = [ pkgconfig ];
nativeBuildInputs = [ cmake gettext pkgconfig ];
buildInputs = [ cmake sqlite botan2 boost curl gettext libusb gnutls ];
buildInputs = [ sqlite botan2 boost curl libusb1 gnutls ];
doCheck = true;
checkTarget = "test";