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.
wip/yesman
Jan Tojnar 4 years ago
parent 8edcff87f2
commit df28c41854
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4
  1. 6
      pkgs/tools/security/neopg/default.nix

@ -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";

Loading…
Cancel
Save