Merge pull request #86165 from jtojnar/libusb-compat-rename
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
{ stdenv, fetchurl, libusb }:
|
||||
{ stdenv, fetchurl, libusb-compat-0_1 }:
|
||||
stdenv.mkDerivation {
|
||||
name = "garmintools-0.10";
|
||||
src = fetchurl {
|
||||
url = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/garmintools/garmintools-0.10.tar.gz";
|
||||
sha256 = "1vjc8h0z4kx2h52yc3chxn3wh1krn234fg12sggbia9zjrzhpmgz";
|
||||
};
|
||||
buildInputs = [ libusb ];
|
||||
buildInputs = [ libusb-compat-0_1 ];
|
||||
meta = {
|
||||
description = "Provides the ability to communicate with the Garmin Forerunner 305 via the USB interface";
|
||||
homepage = "https://code.google.com/archive/p/garmintools/"; # community clone at https://github.com/ianmartin/garmintools
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl, perl, python2, swig, gd, libxml2, tcl, libusb, pkgconfig,
|
||||
{stdenv, fetchurl, perl, python2, swig, gd, libxml2, tcl, libusb-compat-0_1, pkgconfig,
|
||||
boost, libtool, perlPackages }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
buildInputs = [ perl perlPackages.ExtUtilsMakeMaker python2 swig gd libxml2
|
||||
tcl libusb pkgconfig boost libtool ];
|
||||
tcl libusb-compat-0_1 pkgconfig boost libtool ];
|
||||
|
||||
configureFlags = [ "--with-perl-binding" "--with-python-binding"
|
||||
"--with-tcl-binding" "--with-rigmatrix" ];
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl, libusb}:
|
||||
{stdenv, fetchurl, libusb-compat-0_1}:
|
||||
|
||||
with stdenv; mkDerivation rec {
|
||||
name = "libftdi-0.20";
|
||||
@@ -8,9 +8,9 @@ with stdenv; mkDerivation rec {
|
||||
sha256 = "13l39f6k6gff30hsgh0wa2z422g9pyl91rh8a8zz6f34k2sxaxii";
|
||||
};
|
||||
|
||||
buildInputs = [ libusb ];
|
||||
buildInputs = [ libusb-compat-0_1 ];
|
||||
|
||||
propagatedBuildInputs = [ libusb ];
|
||||
propagatedBuildInputs = [ libusb-compat-0_1 ];
|
||||
|
||||
# Hack to avoid TMPDIR in RPATHs.
|
||||
preFixup = ''rm -rf "$(pwd)" '';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, libusb, readline }:
|
||||
{ stdenv, fetchurl, libusb-compat-0_1, readline }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "libnfc";
|
||||
@@ -9,7 +9,7 @@ stdenv.mkDerivation {
|
||||
sha256 = "0wj0iwwcpmpalyk61aa7yc6i4p9hgdajkrgnlswgk0vnwbc78pll";
|
||||
};
|
||||
|
||||
buildInputs = [ libusb readline ];
|
||||
buildInputs = [ libusb-compat-0_1 readline ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Open source library libnfc for Near Field Communication";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchurl, fetchpatch, autoreconfHook, pkgconfig, help2man, python3,
|
||||
alsaLib, xlibsWrapper, libxslt, systemd, libusb, libftdi1 }:
|
||||
alsaLib, xlibsWrapper, libxslt, systemd, libusb-compat-0_1, libftdi1 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "lirc-0.10.1";
|
||||
@@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ autoreconfHook pkgconfig help2man
|
||||
(python3.withPackages (p: with p; [ pyyaml setuptools ])) ];
|
||||
|
||||
buildInputs = [ alsaLib xlibsWrapper libxslt systemd libusb libftdi1 ];
|
||||
buildInputs = [ alsaLib xlibsWrapper libxslt systemd libusb-compat-0_1 libftdi1 ];
|
||||
|
||||
configureFlags = [
|
||||
"--sysconfdir=/etc"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, pcsclite, libusb
|
||||
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, pcsclite, libusb-compat-0_1
|
||||
, doxygen, libxslt
|
||||
}:
|
||||
|
||||
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
||||
buildInputs = [ pcsclite libusb doxygen libxslt ];
|
||||
buildInputs = [ pcsclite libusb-compat-0_1 doxygen libxslt ];
|
||||
|
||||
preInstall = ''
|
||||
mkdir -p $out/etc
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl, patchelf, libusb}:
|
||||
{stdenv, fetchurl, patchelf, libusb-compat-0_1}:
|
||||
|
||||
assert stdenv ? cc && stdenv.cc.libc != null;
|
||||
|
||||
@@ -18,7 +18,7 @@ stdenv.mkDerivation {
|
||||
nativeBuildInputs = [ patchelf ];
|
||||
|
||||
installPhase = ''
|
||||
RPATH=${libusb.out}/lib:${stdenv.cc.libc.out}/lib
|
||||
RPATH=${libusb-compat-0_1.out}/lib:${stdenv.cc.libc.out}/lib
|
||||
|
||||
for a in proprietary/*/Contents/Linux/*.so*; do
|
||||
if ! test -L $a; then
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, libusb, libraw1394, dcraw, intltool, perl, v4l-utils }:
|
||||
{ stdenv, fetchurl, libusb-compat-0_1, libraw1394, dcraw, intltool, perl, v4l-utils }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libunicap";
|
||||
@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "05zcnnm4dfc6idihfi0fq5xka6x86zi89wip2ca19yz768sd33s9";
|
||||
};
|
||||
|
||||
buildInputs = [ libusb libraw1394 dcraw intltool perl v4l-utils ];
|
||||
buildInputs = [ libusb-compat-0_1 libraw1394 dcraw intltool perl v4l-utils ];
|
||||
|
||||
patches = [
|
||||
# Debian has a patch that fixes the build.
|
||||
|
||||
Reference in New Issue
Block a user