3
0
Fork 0
forked from mirrors/nixpkgs

cnijfilter2: request libusb1 directly

This commit is contained in:
Florian Klink 2020-04-24 23:53:01 +02:00
parent f5368e0194
commit d0e4ecb182
2 changed files with 4 additions and 6 deletions

View file

@ -1,4 +1,4 @@
{ stdenv, lib, fetchzip, autoconf, automake, cups, glib, libxml2, libusb, libtool
{ stdenv, lib, fetchzip, autoconf, automake, cups, glib, libxml2, libusb1, libtool
, withDebug ? false }:
stdenv.mkDerivation {
@ -12,7 +12,7 @@ stdenv.mkDerivation {
};
buildInputs = [
cups automake autoconf glib libxml2 libusb libtool
cups automake autoconf glib libxml2 libusb1 libtool
];
# lgmon3's --enable-libdir flag is used soley for specifying in which
@ -37,7 +37,7 @@ stdenv.mkDerivation {
cd lgmon3
substituteInPlace src/Makefile.am \
--replace /usr/include/libusb-1.0 \
${libusb.dev}/include/libusb-1.0
${libusb1.dev}/include/libusb-1.0
./autogen.sh --prefix=$out --enable-progpath=$out/bin \
--datadir=$out/share \
--enable-libdir=/var/cache/cups

View file

@ -25241,9 +25241,7 @@ in
cnijfilter_4_00 = callPackage ../misc/cups/drivers/cnijfilter_4_00 { };
cnijfilter2 = callPackage ../misc/cups/drivers/cnijfilter2 {
libusb = libusb1;
};
cnijfilter2 = callPackage ../misc/cups/drivers/cnijfilter2 { };
darcnes = callPackage ../misc/emulators/darcnes { };