libusb-compat-0_1: rename from libusb
This commit is contained in:
parent
4f422e4efb
commit
e89e2edc73
@ -5,7 +5,7 @@
|
|||||||
, qtquickcontrols, qtquickcontrols2
|
, qtquickcontrols, qtquickcontrols2
|
||||||
, monero, unbound, readline, boost, libunwind
|
, monero, unbound, readline, boost, libunwind
|
||||||
, libsodium, pcsclite, zeromq, cppzmq
|
, libsodium, pcsclite, zeromq, cppzmq
|
||||||
, hidapi, libusb, protobuf, randomx
|
, hidapi, libusb-compat-0_1, protobuf, randomx
|
||||||
}:
|
}:
|
||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
|
|||||||
qtxmlpatterns
|
qtxmlpatterns
|
||||||
monero unbound readline
|
monero unbound readline
|
||||||
boost libunwind libsodium pcsclite zeromq
|
boost libunwind libsodium pcsclite zeromq
|
||||||
cppzmq hidapi libusb protobuf randomx
|
cppzmq hidapi libusb-compat-0_1 protobuf randomx
|
||||||
];
|
];
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = [ "-Wno-error=format-security" ];
|
NIX_CFLAGS_COMPILE = [ "-Wno-error=format-security" ];
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
, cmake, pkgconfig
|
, cmake, pkgconfig
|
||||||
, boost, miniupnpc, openssl, unbound, cppzmq
|
, boost, miniupnpc, openssl, unbound, cppzmq
|
||||||
, zeromq, pcsclite, readline, libsodium, hidapi
|
, zeromq, pcsclite, readline, libsodium, hidapi
|
||||||
, pythonProtobuf, randomx, rapidjson, libusb
|
, pythonProtobuf, randomx, rapidjson, libusb-compat-0_1
|
||||||
, CoreData, IOKit, PCSC
|
, CoreData, IOKit, PCSC
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
|
|||||||
boost miniupnpc openssl unbound
|
boost miniupnpc openssl unbound
|
||||||
cppzmq zeromq pcsclite readline
|
cppzmq zeromq pcsclite readline
|
||||||
libsodium hidapi randomx rapidjson
|
libsodium hidapi randomx rapidjson
|
||||||
pythonProtobuf libusb
|
pythonProtobuf libusb-compat-0_1
|
||||||
] ++ stdenv.lib.optionals stdenv.isDarwin [ IOKit CoreData PCSC ];
|
] ++ stdenv.lib.optionals stdenv.isDarwin [ IOKit CoreData PCSC ];
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, callPackage, patchelf, makeWrapper, coreutils, libusb }:
|
{ stdenv, fetchurl, callPackage, patchelf, makeWrapper, coreutils, libusb-compat-0_1 }:
|
||||||
|
|
||||||
let
|
let
|
||||||
myPatchElf = file: with stdenv.lib; ''
|
myPatchElf = file: with stdenv.lib; ''
|
||||||
@ -30,13 +30,13 @@ in stdenv.mkDerivation rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper patchelf coreutils udevRules ];
|
nativeBuildInputs = [ makeWrapper patchelf coreutils udevRules ];
|
||||||
buildInputs = [ libusb ];
|
buildInputs = [ libusb-compat-0_1 ];
|
||||||
dontBuild = true;
|
dontBuild = true;
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
${myPatchElf "opt/brother/scanner/brscan4/brsaneconfig4"}
|
${myPatchElf "opt/brother/scanner/brscan4/brsaneconfig4"}
|
||||||
|
|
||||||
RPATH=${libusb.out}/lib
|
RPATH=${libusb-compat-0_1.out}/lib
|
||||||
for a in usr/lib64/sane/*.so*; do
|
for a in usr/lib64/sane/*.so*; do
|
||||||
if ! test -L $a; then
|
if ! test -L $a; then
|
||||||
patchelf --set-rpath $RPATH $a
|
patchelf --set-rpath $RPATH $a
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, sane-backends, libX11, gtk2, pkgconfig, libusb ? null }:
|
{ stdenv, fetchurl, sane-backends, libX11, gtk2, pkgconfig, libusb-compat-0_1 ? null }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "sane-frontends";
|
pname = "sane-frontends";
|
||||||
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = [ sane-backends libX11 gtk2 ]
|
buildInputs = [ sane-backends libX11 gtk2 ]
|
||||||
++ stdenv.lib.optional (libusb != null) libusb;
|
++ stdenv.lib.optional (libusb-compat-0_1 != null) libusb-compat-0_1;
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchurl, sane-backends, sane-frontends, libX11, gtk2, pkgconfig, libpng
|
{ stdenv, fetchurl, sane-backends, sane-frontends, libX11, gtk2, pkgconfig, libpng
|
||||||
, libusb ? null
|
, libusb-compat-0_1 ? null
|
||||||
, gimpSupport ? false, gimp ? null
|
, gimpSupport ? false, gimp ? null
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [libpng sane-backends sane-frontends libX11 gtk2 ]
|
buildInputs = [libpng sane-backends sane-frontends libX11 gtk2 ]
|
||||||
++ (if libusb != null then [libusb] else [])
|
++ (if libusb-compat-0_1 != null then [libusb-compat-0_1] else [])
|
||||||
++ stdenv.lib.optional gimpSupport gimp;
|
++ stdenv.lib.optional gimpSupport gimp;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
, libtool
|
, libtool
|
||||||
, qrencode
|
, qrencode
|
||||||
, udev
|
, udev
|
||||||
, libusb
|
, libusb-compat-0_1
|
||||||
, makeWrapper
|
, makeWrapper
|
||||||
, pkgconfig
|
, pkgconfig
|
||||||
, qtbase
|
, qtbase
|
||||||
@ -70,7 +70,7 @@ in stdenv.mkDerivation rec {
|
|||||||
libevent
|
libevent
|
||||||
libtool
|
libtool
|
||||||
udev
|
udev
|
||||||
libusb
|
libusb-compat-0_1
|
||||||
qrencode
|
qrencode
|
||||||
|
|
||||||
qtbase
|
qtbase
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, garmintools, libgcrypt, libusb, pkgconfig, tinyxml, zlib }:
|
{ stdenv, fetchurl, garmintools, libgcrypt, libusb-compat-0_1, pkgconfig, tinyxml, zlib }:
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "garmin-plugin-0.3.26";
|
name = "garmin-plugin-0.3.26";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
@ -7,7 +7,7 @@ stdenv.mkDerivation {
|
|||||||
};
|
};
|
||||||
sourceRoot = "GarminPlugin-0.3.26/src";
|
sourceRoot = "GarminPlugin-0.3.26/src";
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [ garmintools libusb libgcrypt tinyxml zlib ];
|
buildInputs = [ garmintools libusb-compat-0_1 libgcrypt tinyxml zlib ];
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--with-libgcrypt-prefix=${libgcrypt.dev}"
|
"--with-libgcrypt-prefix=${libgcrypt.dev}"
|
||||||
"--with-garmintools-incdir=${garmintools}/include"
|
"--with-garmintools-incdir=${garmintools}/include"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ stdenv, fetchFromGitHub, mkDerivation
|
{ stdenv, fetchFromGitHub, mkDerivation
|
||||||
, qtbase, qtsvg, qtserialport, qtwebengine, qtmultimedia, qttools
|
, qtbase, qtsvg, qtserialport, qtwebengine, qtmultimedia, qttools
|
||||||
, qtconnectivity, qtcharts, libusb
|
, qtconnectivity, qtcharts, libusb-compat-0_1
|
||||||
, yacc, flex, zlib, qmake, makeDesktopItem, makeWrapper
|
, yacc, flex, zlib, qmake, makeDesktopItem, makeWrapper
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -27,7 +27,7 @@ in mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
qtbase qtsvg qtserialport qtwebengine qtmultimedia qttools zlib
|
qtbase qtsvg qtserialport qtwebengine qtmultimedia qttools zlib
|
||||||
qtconnectivity qtcharts libusb
|
qtconnectivity qtcharts libusb-compat-0_1
|
||||||
];
|
];
|
||||||
nativeBuildInputs = [ flex makeWrapper qmake yacc ];
|
nativeBuildInputs = [ flex makeWrapper qmake yacc ];
|
||||||
|
|
||||||
@ -39,9 +39,9 @@ in mkDerivation rec {
|
|||||||
cp src/gcconfig.pri.in src/gcconfig.pri
|
cp src/gcconfig.pri.in src/gcconfig.pri
|
||||||
cp qwt/qwtconfig.pri.in qwt/qwtconfig.pri
|
cp qwt/qwtconfig.pri.in qwt/qwtconfig.pri
|
||||||
echo 'QMAKE_LRELEASE = ${qttools.dev}/bin/lrelease' >> src/gcconfig.pri
|
echo 'QMAKE_LRELEASE = ${qttools.dev}/bin/lrelease' >> src/gcconfig.pri
|
||||||
echo 'LIBUSB_INSTALL = ${libusb}' >> src/gcconfig.pri
|
echo 'LIBUSB_INSTALL = ${libusb-compat-0_1}' >> src/gcconfig.pri
|
||||||
echo 'LIBUSB_INCLUDE = ${libusb.dev}/include' >> src/gcconfig.pri
|
echo 'LIBUSB_INCLUDE = ${libusb-compat-0_1.dev}/include' >> src/gcconfig.pri
|
||||||
echo 'LIBUSB_LIBS = -L${libusb}/lib -lusb' >> src/gcconfig.pri
|
echo 'LIBUSB_LIBS = -L${libusb-compat-0_1}/lib -lusb' >> src/gcconfig.pri
|
||||||
sed -i -e '21,23d' qwt/qwtconfig.pri # Removed forced installation to /usr/local
|
sed -i -e '21,23d' qwt/qwtconfig.pri # Removed forced installation to /usr/local
|
||||||
|
|
||||||
# Use qtwebengine instead of qtwebkit
|
# Use qtwebengine instead of qtwebkit
|
||||||
|
@ -92,7 +92,7 @@ in buildFHSUserEnv {
|
|||||||
multiPkgs = pkgs: with pkgs; [
|
multiPkgs = pkgs: with pkgs; [
|
||||||
# Common
|
# Common
|
||||||
libsndfile libtheora libogg libvorbis libopus libGLU libpcap libpulseaudio
|
libsndfile libtheora libogg libvorbis libopus libGLU libpcap libpulseaudio
|
||||||
libao libevdev udev libgcrypt libxml2 libusb libpng libmpeg2 libv4l
|
libao libevdev udev libgcrypt libxml2 libusb-compat-0_1 libpng libmpeg2 libv4l
|
||||||
libjpeg libxkbcommon libass libcdio libjack2 libsamplerate libzip libmad libaio
|
libjpeg libxkbcommon libass libcdio libjack2 libsamplerate libzip libmad libaio
|
||||||
libcap libtiff libva libgphoto2 libxslt libsndfile giflib zlib glib
|
libcap libtiff libva libgphoto2 libxslt libsndfile giflib zlib glib
|
||||||
alsaLib zziplib bash dbus keyutils zip cabextract freetype unzip coreutils
|
alsaLib zziplib bash dbus keyutils zip cabextract freetype unzip coreutils
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, neon, libusb, openssl, udev, avahi, freeipmi
|
{ stdenv, fetchurl, pkgconfig, neon, libusb-compat-0_1, openssl, udev, avahi, freeipmi
|
||||||
, libtool, makeWrapper, autoreconfHook, fetchpatch
|
, libtool, makeWrapper, autoreconfHook, fetchpatch
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
|
|||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [ neon libusb openssl udev avahi freeipmi ];
|
buildInputs = [ neon libusb-compat-0_1 openssl udev avahi freeipmi ];
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook libtool pkgconfig makeWrapper ];
|
nativeBuildInputs = [ autoreconfHook libtool pkgconfig makeWrapper ];
|
||||||
|
|
||||||
@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
wrapProgram $out/bin/nut-scanner --prefix LD_LIBRARY_PATH : \
|
wrapProgram $out/bin/nut-scanner --prefix LD_LIBRARY_PATH : \
|
||||||
"$out/lib:${neon}/lib:${libusb.out}/lib:${avahi}/lib:${freeipmi}/lib"
|
"$out/lib:${neon}/lib:${libusb-compat-0_1.out}/lib:${avahi}/lib:${freeipmi}/lib"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, cmake, libusb }:
|
{ stdenv, fetchurl, cmake, libusb-compat-0_1 }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "garmindev";
|
pname = "garmindev";
|
||||||
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
||||||
buildInputs = [ libusb ];
|
buildInputs = [ libusb-compat-0_1 ];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, mkDerivation, fetchFromGitHub, qmake, pkgconfig, udev
|
{ stdenv, mkDerivation, fetchFromGitHub, qmake, pkgconfig, udev
|
||||||
, qtmultimedia, qtscript, alsaLib, ola, libftdi1, libusb
|
, qtmultimedia, qtscript, alsaLib, ola, libftdi1, libusb-compat-0_1
|
||||||
, libsndfile, libmad
|
, libsndfile, libmad
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -16,7 +16,7 @@ mkDerivation rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ qmake pkgconfig ];
|
nativeBuildInputs = [ qmake pkgconfig ];
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
udev qtmultimedia qtscript alsaLib ola libftdi1 libusb libsndfile libmad
|
udev qtmultimedia qtscript alsaLib ola libftdi1 libusb-compat-0_1 libsndfile libmad
|
||||||
];
|
];
|
||||||
|
|
||||||
qmakeFlags = [ "INSTALLROOT=$(out)" ];
|
qmakeFlags = [ "INSTALLROOT=$(out)" ];
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchurl, fetchFromGitHub, autoreconfHook, cmake, wrapQtAppsHook, pkgconfig, qmake
|
{ stdenv, fetchurl, fetchFromGitHub, autoreconfHook, cmake, wrapQtAppsHook, pkgconfig, qmake
|
||||||
, curl, grantlee, libgit2, libusb, libssh2, libxml2, libxslt, libzip, zlib
|
, curl, grantlee, libgit2, libusb-compat-0_1, libssh2, libxml2, libxslt, libzip, zlib
|
||||||
, qtbase, qtconnectivity, qtlocation, qtsvg, qttools, qtwebkit, libXcomposite
|
, qtbase, qtconnectivity, qtlocation, qtsvg, qttools, qtwebkit, libXcomposite
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -83,7 +83,7 @@ in stdenv.mkDerivation {
|
|||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
libdc googlemaps
|
libdc googlemaps
|
||||||
curl grantlee libgit2 libssh2 libusb libxml2 libxslt libzip
|
curl grantlee libgit2 libssh2 libusb-compat-0_1 libxml2 libxslt libzip
|
||||||
qtbase qtconnectivity qtsvg qttools qtwebkit
|
qtbase qtconnectivity qtsvg qttools qtwebkit
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ libav,
|
|||||||
libiio,
|
libiio,
|
||||||
libopus,
|
libopus,
|
||||||
libpulseaudio,
|
libpulseaudio,
|
||||||
libusb,
|
libusb-compat-0_1,
|
||||||
limesuite,
|
limesuite,
|
||||||
mkDerivation,
|
mkDerivation,
|
||||||
ocl-icd,
|
ocl-icd,
|
||||||
@ -51,7 +51,7 @@ in mkDerivation rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ cmake pkgconfig ];
|
nativeBuildInputs = [ cmake pkgconfig ];
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
glew opencv3 libusb boost libopus limesuite libav libiio libpulseaudio
|
glew opencv3 libusb-compat-0_1 boost libopus limesuite libav libiio libpulseaudio
|
||||||
qtbase qtwebsockets qtmultimedia rtl-sdr airspy hackrf
|
qtbase qtwebsockets qtmultimedia rtl-sdr airspy hackrf
|
||||||
fftwFloat codec2' cm256cc serialdv
|
fftwFloat codec2' cm256cc serialdv
|
||||||
];
|
];
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ stdenv, lib, lndir, makeWrapper
|
{ stdenv, lib, lndir, makeWrapper
|
||||||
, fetchFromGitHub, cmake
|
, fetchFromGitHub, cmake
|
||||||
, libusb, pkgconfig
|
, libusb-compat-0_1, pkgconfig
|
||||||
, usePython ? false
|
, usePython ? false
|
||||||
, python, ncurses, swig2
|
, python, ncurses, swig2
|
||||||
, extraPackages ? []
|
, extraPackages ? []
|
||||||
@ -25,7 +25,7 @@ in stdenv.mkDerivation {
|
|||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake makeWrapper pkgconfig ];
|
nativeBuildInputs = [ cmake makeWrapper pkgconfig ];
|
||||||
buildInputs = [ libusb ncurses ]
|
buildInputs = [ libusb-compat-0_1 ncurses ]
|
||||||
++ lib.optionals usePython [ python swig2 ];
|
++ lib.optionals usePython [ python swig2 ];
|
||||||
|
|
||||||
propagatedBuildInputs = lib.optional usePython python.pkgs.numpy;
|
propagatedBuildInputs = lib.optional usePython python.pkgs.numpy;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ mkDerivation, lib, fetchFromGitHub, cmake, pkgconfig
|
{ mkDerivation, lib, fetchFromGitHub, cmake, pkgconfig
|
||||||
, qtbase, qtcharts, qtmultimedia, qtquickcontrols, qtquickcontrols2
|
, qtbase, qtcharts, qtmultimedia, qtquickcontrols, qtquickcontrols2
|
||||||
, faad2, rtl-sdr, soapysdr-with-plugins, libusb, fftwSinglePrec, lame, mpg123 }:
|
, faad2, rtl-sdr, soapysdr-with-plugins, libusb-compat-0_1, fftwSinglePrec, lame, mpg123 }:
|
||||||
let
|
let
|
||||||
|
|
||||||
version = "2.1";
|
version = "2.1";
|
||||||
@ -23,7 +23,7 @@ in mkDerivation {
|
|||||||
faad2
|
faad2
|
||||||
fftwSinglePrec
|
fftwSinglePrec
|
||||||
lame
|
lame
|
||||||
libusb
|
libusb-compat-0_1
|
||||||
mpg123
|
mpg123
|
||||||
qtbase
|
qtbase
|
||||||
qtcharts
|
qtcharts
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
, SDL2
|
, SDL2
|
||||||
, libGL
|
, libGL
|
||||||
, libarchive
|
, libarchive
|
||||||
, libusb
|
, libusb-compat-0_1
|
||||||
, qtbase
|
, qtbase
|
||||||
, qmake
|
, qmake
|
||||||
, git
|
, git
|
||||||
@ -33,7 +33,7 @@ mkDerivation rec {
|
|||||||
SDL2
|
SDL2
|
||||||
libGL
|
libGL
|
||||||
libarchive
|
libarchive
|
||||||
libusb
|
libusb-compat-0_1
|
||||||
qtbase
|
qtbase
|
||||||
libpng_apng
|
libpng_apng
|
||||||
];
|
];
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{ stdenv, fetchurl, cmake, pkgconfig, boost, protobuf, freeimage
|
{ stdenv, fetchurl, cmake, pkgconfig, boost, protobuf, freeimage
|
||||||
, boost-build, boost_process
|
, boost-build, boost_process
|
||||||
, xorg_sys_opengl, tbb, ogre, tinyxml-2
|
, xorg_sys_opengl, tbb, ogre, tinyxml-2
|
||||||
, libtar, glxinfo, libusb, libxslt, ignition
|
, libtar, glxinfo, libusb-compat-0_1, libxslt, ignition
|
||||||
, pythonPackages, utillinux
|
, pythonPackages, utillinux
|
||||||
|
|
||||||
# these deps are hidden; cmake doesn't catch them
|
# these deps are hidden; cmake doesn't catch them
|
||||||
@ -52,7 +52,7 @@ stdenv.mkDerivation rec {
|
|||||||
tinyxml-2
|
tinyxml-2
|
||||||
libtar
|
libtar
|
||||||
glxinfo
|
glxinfo
|
||||||
libusb
|
libusb-compat-0_1
|
||||||
libxslt
|
libxslt
|
||||||
ignition.math2
|
ignition.math2
|
||||||
sdformat
|
sdformat
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
, rtmpSupport ? true, rtmpdump ? null
|
, rtmpSupport ? true, rtmpdump ? null
|
||||||
, sambaSupport ? true, samba ? null
|
, sambaSupport ? true, samba ? null
|
||||||
, udevSupport ? true, udev ? null
|
, udevSupport ? true, udev ? null
|
||||||
, usbSupport ? false, libusb ? null
|
, usbSupport ? false, libusb-compat-0_1 ? null
|
||||||
, vdpauSupport ? true, libvdpau ? null
|
, vdpauSupport ? true, libvdpau ? null
|
||||||
, useWayland ? false, wayland ? null, wayland-protocols ? null
|
, useWayland ? false, wayland ? null, wayland-protocols ? null
|
||||||
, waylandpp ? null, libxkbcommon ? null
|
, waylandpp ? null, libxkbcommon ? null
|
||||||
@ -39,7 +39,7 @@ assert pulseSupport -> libpulseaudio != null;
|
|||||||
assert rtmpSupport -> rtmpdump != null;
|
assert rtmpSupport -> rtmpdump != null;
|
||||||
assert sambaSupport -> samba != null;
|
assert sambaSupport -> samba != null;
|
||||||
assert udevSupport -> udev != null;
|
assert udevSupport -> udev != null;
|
||||||
assert usbSupport -> libusb != null && ! udevSupport; # libusb won't be used if udev is avaliable
|
assert usbSupport -> libusb-compat-0_1 != null && ! udevSupport; # libusb-compat-0_1 won't be used if udev is avaliable
|
||||||
assert vdpauSupport -> libvdpau != null;
|
assert vdpauSupport -> libvdpau != null;
|
||||||
assert useWayland -> wayland != null && wayland-protocols != null && waylandpp != null && libxkbcommon != null;
|
assert useWayland -> wayland != null && wayland-protocols != null && waylandpp != null && libxkbcommon != null;
|
||||||
|
|
||||||
@ -189,7 +189,7 @@ in stdenv.mkDerivation {
|
|||||||
++ lib.optional rtmpSupport rtmpdump
|
++ lib.optional rtmpSupport rtmpdump
|
||||||
++ lib.optional sambaSupport samba
|
++ lib.optional sambaSupport samba
|
||||||
++ lib.optional udevSupport udev
|
++ lib.optional udevSupport udev
|
||||||
++ lib.optional usbSupport libusb
|
++ lib.optional usbSupport libusb-compat-0_1
|
||||||
++ lib.optional vdpauSupport libvdpau
|
++ lib.optional vdpauSupport libvdpau
|
||||||
++ lib.optionals useWayland [
|
++ lib.optionals useWayland [
|
||||||
wayland
|
wayland
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, lib, fetchFromGitHub, fetchurl, jdk, ant
|
{ stdenv, lib, fetchFromGitHub, fetchurl, jdk, ant
|
||||||
, libusb, libusb1, unzip, zlib, ncurses, readline
|
, libusb-compat-0_1, libusb1, unzip, zlib, ncurses, readline
|
||||||
, withGui ? false, gtk2 ? null, withTeensyduino ? false
|
, withGui ? false, gtk2 ? null, withTeensyduino ? false
|
||||||
/* Packages needed for Teensyduino */
|
/* Packages needed for Teensyduino */
|
||||||
, upx, fontconfig, xorg, gcc
|
, upx, fontconfig, xorg, gcc
|
||||||
@ -42,7 +42,7 @@ let
|
|||||||
glib
|
glib
|
||||||
gtk2
|
gtk2
|
||||||
libpng12
|
libpng12
|
||||||
libusb
|
libusb-compat-0_1
|
||||||
pango
|
pango
|
||||||
udev
|
udev
|
||||||
xorg.libSM
|
xorg.libSM
|
||||||
@ -96,7 +96,7 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
buildInputs = [ jdk ant libusb libusb1 unzip zlib ncurses5 readline
|
buildInputs = [ jdk ant libusb-compat-0_1 libusb1 unzip zlib ncurses5 readline
|
||||||
] ++ stdenv.lib.optionals withTeensyduino [ upx ];
|
] ++ stdenv.lib.optionals withTeensyduino [ upx ];
|
||||||
downloadSrcList = builtins.attrValues externalDownloads;
|
downloadSrcList = builtins.attrValues externalDownloads;
|
||||||
downloadDstList = builtins.attrNames externalDownloads;
|
downloadDstList = builtins.attrNames externalDownloads;
|
||||||
@ -129,7 +129,7 @@ stdenv.mkDerivation rec {
|
|||||||
javaPath = lib.makeBinPath [jdk];
|
javaPath = lib.makeBinPath [jdk];
|
||||||
|
|
||||||
# Everything else will be patched into rpath
|
# Everything else will be patched into rpath
|
||||||
rpath = (lib.makeLibraryPath [zlib libusb libusb1 readline ncurses5 stdenv.cc.cc]);
|
rpath = (lib.makeLibraryPath [zlib libusb-compat-0_1 libusb1 readline ncurses5 stdenv.cc.cc]);
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/share/arduino
|
mkdir -p $out/share/arduino
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
{ stdenv, fetchurl, libusb }:
|
{ stdenv, fetchurl, libusb-compat-0_1 }:
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "garmintools-0.10";
|
name = "garmintools-0.10";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/garmintools/garmintools-0.10.tar.gz";
|
url = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/garmintools/garmintools-0.10.tar.gz";
|
||||||
sha256 = "1vjc8h0z4kx2h52yc3chxn3wh1krn234fg12sggbia9zjrzhpmgz";
|
sha256 = "1vjc8h0z4kx2h52yc3chxn3wh1krn234fg12sggbia9zjrzhpmgz";
|
||||||
};
|
};
|
||||||
buildInputs = [ libusb ];
|
buildInputs = [ libusb-compat-0_1 ];
|
||||||
meta = {
|
meta = {
|
||||||
description = "Provides the ability to communicate with the Garmin Forerunner 305 via the USB interface";
|
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
|
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 }:
|
boost, libtool, perlPackages }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ perl perlPackages.ExtUtilsMakeMaker python2 swig gd libxml2
|
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"
|
configureFlags = [ "--with-perl-binding" "--with-python-binding"
|
||||||
"--with-tcl-binding" "--with-rigmatrix" ];
|
"--with-tcl-binding" "--with-rigmatrix" ];
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{stdenv, fetchurl, libusb}:
|
{stdenv, fetchurl, libusb-compat-0_1}:
|
||||||
|
|
||||||
with stdenv; mkDerivation rec {
|
with stdenv; mkDerivation rec {
|
||||||
name = "libftdi-0.20";
|
name = "libftdi-0.20";
|
||||||
@ -8,9 +8,9 @@ with stdenv; mkDerivation rec {
|
|||||||
sha256 = "13l39f6k6gff30hsgh0wa2z422g9pyl91rh8a8zz6f34k2sxaxii";
|
sha256 = "13l39f6k6gff30hsgh0wa2z422g9pyl91rh8a8zz6f34k2sxaxii";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ libusb ];
|
buildInputs = [ libusb-compat-0_1 ];
|
||||||
|
|
||||||
propagatedBuildInputs = [ libusb ];
|
propagatedBuildInputs = [ libusb-compat-0_1 ];
|
||||||
|
|
||||||
# Hack to avoid TMPDIR in RPATHs.
|
# Hack to avoid TMPDIR in RPATHs.
|
||||||
preFixup = ''rm -rf "$(pwd)" '';
|
preFixup = ''rm -rf "$(pwd)" '';
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, libusb, readline }:
|
{ stdenv, fetchurl, libusb-compat-0_1, readline }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
pname = "libnfc";
|
pname = "libnfc";
|
||||||
@ -9,7 +9,7 @@ stdenv.mkDerivation {
|
|||||||
sha256 = "0wj0iwwcpmpalyk61aa7yc6i4p9hgdajkrgnlswgk0vnwbc78pll";
|
sha256 = "0wj0iwwcpmpalyk61aa7yc6i4p9hgdajkrgnlswgk0vnwbc78pll";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ libusb readline ];
|
buildInputs = [ libusb-compat-0_1 readline ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Open source library libnfc for Near Field Communication";
|
description = "Open source library libnfc for Near Field Communication";
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchurl, fetchpatch, autoreconfHook, pkgconfig, help2man, python3,
|
{ 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 {
|
stdenv.mkDerivation rec {
|
||||||
name = "lirc-0.10.1";
|
name = "lirc-0.10.1";
|
||||||
@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
|
|||||||
nativeBuildInputs = [ autoreconfHook pkgconfig help2man
|
nativeBuildInputs = [ autoreconfHook pkgconfig help2man
|
||||||
(python3.withPackages (p: with p; [ pyyaml setuptools ])) ];
|
(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 = [
|
configureFlags = [
|
||||||
"--sysconfdir=/etc"
|
"--sysconfdir=/etc"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, pcsclite, libusb
|
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, pcsclite, libusb-compat-0_1
|
||||||
, doxygen, libxslt
|
, doxygen, libxslt
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
||||||
buildInputs = [ pcsclite libusb doxygen libxslt ];
|
buildInputs = [ pcsclite libusb-compat-0_1 doxygen libxslt ];
|
||||||
|
|
||||||
preInstall = ''
|
preInstall = ''
|
||||||
mkdir -p $out/etc
|
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;
|
assert stdenv ? cc && stdenv.cc.libc != null;
|
||||||
|
|
||||||
@ -18,7 +18,7 @@ stdenv.mkDerivation {
|
|||||||
nativeBuildInputs = [ patchelf ];
|
nativeBuildInputs = [ patchelf ];
|
||||||
|
|
||||||
installPhase = ''
|
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
|
for a in proprietary/*/Contents/Linux/*.so*; do
|
||||||
if ! test -L $a; then
|
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 {
|
stdenv.mkDerivation rec {
|
||||||
pname = "libunicap";
|
pname = "libunicap";
|
||||||
@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "05zcnnm4dfc6idihfi0fq5xka6x86zi89wip2ca19yz768sd33s9";
|
sha256 = "05zcnnm4dfc6idihfi0fq5xka6x86zi89wip2ca19yz768sd33s9";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ libusb libraw1394 dcraw intltool perl v4l-utils ];
|
buildInputs = [ libusb-compat-0_1 libraw1394 dcraw intltool perl v4l-utils ];
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
# Debian has a patch that fixes the build.
|
# Debian has a patch that fixes the build.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchFromGitHub, libusb, readline ? null }:
|
{ stdenv, fetchFromGitHub, libusb-compat-0_1, readline ? null }:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "0.25";
|
version = "0.25";
|
||||||
@ -12,7 +12,7 @@ in stdenv.mkDerivation {
|
|||||||
sha256 = "0prgwb5vx6fd4bj12ss1bbb6axj2kjyriyjxqrzd58s5jyyy8d3c";
|
sha256 = "0prgwb5vx6fd4bj12ss1bbb6axj2kjyriyjxqrzd58s5jyyy8d3c";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ libusb readline ];
|
buildInputs = [ libusb-compat-0_1 readline ];
|
||||||
makeFlags = [ "PREFIX=$(out)" "INSTALL=install" ] ++
|
makeFlags = [ "PREFIX=$(out)" "INSTALL=install" ] ++
|
||||||
(if readline == null then [ "WITHOUT_READLINE=1" ] else []);
|
(if readline == null then [ "WITHOUT_READLINE=1" ] else []);
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{ stdenv,
|
{ stdenv,
|
||||||
fetchFromGitHub, fetchpatch,
|
fetchFromGitHub, fetchpatch,
|
||||||
webos, cmake, pkgconfig,
|
webos, cmake, pkgconfig,
|
||||||
libusb }:
|
libusb-compat-0_1 }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "novacomd";
|
pname = "novacomd";
|
||||||
@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ cmake pkgconfig webos.cmake-modules ];
|
nativeBuildInputs = [ cmake pkgconfig webos.cmake-modules ];
|
||||||
|
|
||||||
buildInputs = [ libusb ];
|
buildInputs = [ libusb-compat-0_1 ];
|
||||||
|
|
||||||
cmakeFlags = [ "-DWEBOS_TARGET_MACHINE_IMPL=host" ];
|
cmakeFlags = [ "-DWEBOS_TARGET_MACHINE_IMPL=host" ];
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchFromGitHub, cmake, zlib, libpng, bzip2, libusb, openssl }:
|
{ stdenv, fetchFromGitHub, cmake, zlib, libpng, bzip2, libusb-compat-0_1, openssl }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "xpwn";
|
pname = "xpwn";
|
||||||
@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
strictDeps = true;
|
strictDeps = true;
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
buildInputs = [ zlib libpng bzip2 libusb openssl ];
|
buildInputs = [ zlib libpng bzip2 libusb-compat-0_1 openssl ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = "http://planetbeing.lighthouseapp.com/projects/15246-xpwn";
|
homepage = "http://planetbeing.lighthouseapp.com/projects/15246-xpwn";
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{stdenv, fetchFromGitHub
|
{stdenv, fetchFromGitHub
|
||||||
, buildPackages
|
, buildPackages
|
||||||
, pkgconfig
|
, pkgconfig
|
||||||
, libusb, readline, libewf, perl, zlib, openssl
|
, libusb-compat-0_1, readline, libewf, perl, zlib, openssl
|
||||||
, libuv, file, libzip, xxHash
|
, libuv, file, libzip, xxHash
|
||||||
, gtk2 ? null, vte ? null, gtkdialog ? null
|
, gtk2 ? null, vte ? null, gtkdialog ? null
|
||||||
, python3 ? null
|
, python3 ? null
|
||||||
@ -84,7 +84,7 @@ let
|
|||||||
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [ file readline libusb libewf perl zlib openssl libuv ]
|
buildInputs = [ file readline libusb-compat-0_1 libewf perl zlib openssl libuv ]
|
||||||
++ optional useX11 [ gtkdialog vte gtk2 ]
|
++ optional useX11 [ gtkdialog vte gtk2 ]
|
||||||
++ optional rubyBindings [ ruby ]
|
++ optional rubyBindings [ ruby ]
|
||||||
++ optional pythonBindings [ python3 ]
|
++ optional pythonBindings [ python3 ]
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, yacc, flex, libusb, libelf, libftdi1, readline
|
{ stdenv, fetchurl, yacc, flex, libusb-compat-0_1, libelf, libftdi1, readline
|
||||||
# docSupport is a big dependency, disabled by default
|
# docSupport is a big dependency, disabled by default
|
||||||
, docSupport ? false, texLive ? null, texinfo ? null, texi2html ? null
|
, docSupport ? false, texLive ? null, texinfo ? null, texi2html ? null
|
||||||
}:
|
}:
|
||||||
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
configureFlags = stdenv.lib.optionals docSupport "--enable-doc";
|
configureFlags = stdenv.lib.optionals docSupport "--enable-doc";
|
||||||
|
|
||||||
buildInputs = [ yacc flex libusb libelf libftdi1 readline ]
|
buildInputs = [ yacc flex libusb-compat-0_1 libelf libftdi1 readline ]
|
||||||
++ stdenv.lib.optionals docSupport [ texLive texinfo texi2html ];
|
++ stdenv.lib.optionals docSupport [ texLive texinfo texi2html ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, lib, fetchFromGitHub
|
{ stdenv, lib, fetchFromGitHub
|
||||||
, gcc-arm-embedded, libftdi1, libusb, pkgconfig
|
, gcc-arm-embedded, libftdi1, libusb-compat-0_1, pkgconfig
|
||||||
, python, pythonPackages
|
, python, pythonPackages
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
libftdi1
|
libftdi1
|
||||||
libusb
|
libusb-compat-0_1
|
||||||
python
|
python
|
||||||
pythonPackages.intelhex
|
pythonPackages.intelhex
|
||||||
];
|
];
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, libusb }:
|
{ stdenv, fetchurl, libusb-compat-0_1 }:
|
||||||
let
|
let
|
||||||
version = "0.7.2";
|
version = "0.7.2";
|
||||||
in
|
in
|
||||||
@ -6,7 +6,7 @@ stdenv.mkDerivation rec {
|
|||||||
pname = "dfu-programmer";
|
pname = "dfu-programmer";
|
||||||
inherit version;
|
inherit version;
|
||||||
|
|
||||||
buildInputs = [ libusb ];
|
buildInputs = [ libusb-compat-0_1 ];
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/dfu-programmer/${pname}-${version}.tar.gz";
|
url = "mirror://sourceforge/dfu-programmer/${pname}-${version}.tar.gz";
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
pkgs
|
pkgs
|
||||||
, stdenv
|
, stdenv
|
||||||
, libusb
|
, libusb-compat-0_1
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, lib
|
, lib
|
||||||
}:
|
}:
|
||||||
@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "14msy9amlbflw5mqrbs57b7bby3nsgx43srr7215zyhfdgsla0in";
|
sha256 = "14msy9amlbflw5mqrbs57b7bby3nsgx43srr7215zyhfdgsla0in";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ libusb ];
|
buildInputs = [ libusb-compat-0_1 ];
|
||||||
makeFlags = stdenv.lib.optionals stdenv.isDarwin [ "CC=cc" ];
|
makeFlags = stdenv.lib.optionals stdenv.isDarwin [ "CC=cc" ];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchFromGitHub, go-md2man, installShellFiles, libusb }:
|
{ stdenv, fetchFromGitHub, go-md2man, installShellFiles, libusb-compat-0_1 }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "teensy-loader-cli";
|
pname = "teensy-loader-cli";
|
||||||
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1yx8vsh6b29pqr4zb6sx47429i9x51hj9psn8zksfz75j5ivfd5i";
|
sha256 = "1yx8vsh6b29pqr4zb6sx47429i9x51hj9psn8zksfz75j5ivfd5i";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ libusb ];
|
buildInputs = [ libusb-compat-0_1 ];
|
||||||
|
|
||||||
nativeBuildInputs = [ go-md2man installShellFiles ];
|
nativeBuildInputs = [ go-md2man installShellFiles ];
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ lib, fetchFromGitHub, rustPlatform, libusb }:
|
{ lib, fetchFromGitHub, rustPlatform, libusb-compat-0_1 }:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "0.6.9";
|
version = "0.6.9";
|
||||||
@ -21,7 +21,7 @@ rustPlatform.buildRustPackage {
|
|||||||
'';
|
'';
|
||||||
cargoSha256 = "0d5kcwy0cgxqfxf2xysw65ng84q4knhp4fgvh6dwqhf0nsca9gvs";
|
cargoSha256 = "0d5kcwy0cgxqfxf2xysw65ng84q4knhp4fgvh6dwqhf0nsca9gvs";
|
||||||
|
|
||||||
buildInputs = [ libusb ];
|
buildInputs = [ libusb-compat-0_1 ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Manipulate a Wishbone device over some sort of bridge";
|
description = "Manipulate a Wishbone device over some sort of bridge";
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchsvn, cmake, libusb, libftdi }:
|
{ stdenv, fetchsvn, cmake, libusb-compat-0_1, libftdi }:
|
||||||
|
|
||||||
# The xc3sprog project doesn't seem to make proper releases, they only put out
|
# The xc3sprog project doesn't seem to make proper releases, they only put out
|
||||||
# prebuilt binary subversion snapshots on sourceforge.
|
# prebuilt binary subversion snapshots on sourceforge.
|
||||||
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
|||||||
rev = version;
|
rev = version;
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ cmake libusb libftdi ];
|
buildInputs = [ cmake libusb-compat-0_1 libftdi ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Command-line tools for programming FPGAs, microcontrollers and PROMs via JTAG";
|
description = "Command-line tools for programming FPGAs, microcontrollers and PROMs via JTAG";
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, cups, libusb, libxml2, perl }:
|
{ stdenv, fetchurl, cups, libusb-compat-0_1, libxml2, perl }:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
|
||||||
@ -17,7 +17,7 @@ in stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
cups
|
cups
|
||||||
libusb
|
libusb-compat-0_1
|
||||||
libxml2
|
libxml2
|
||||||
perl
|
perl
|
||||||
];
|
];
|
||||||
@ -91,7 +91,7 @@ in stdenv.mkDerivation rec {
|
|||||||
done
|
done
|
||||||
|
|
||||||
patchelf --set-rpath "$out/lib:${stdenv.lib.getLib cups}/lib" "$out/lib/libscmssc.so"
|
patchelf --set-rpath "$out/lib:${stdenv.lib.getLib cups}/lib" "$out/lib/libscmssc.so"
|
||||||
patchelf --set-rpath "$out/lib:${libxml2.out}/lib:${libusb.out}/lib" "$out/lib/sane/libsane-smfp.so.1.0.1"
|
patchelf --set-rpath "$out/lib:${libxml2.out}/lib:${libusb-compat-0_1.out}/lib" "$out/lib/sane/libsane-smfp.so.1.0.1"
|
||||||
|
|
||||||
ln -s ${stdenv.cc.cc.lib}/lib/libstdc++.so.6 $out/lib/
|
ln -s ${stdenv.cc.cc.lib}/lib/libstdc++.so.6 $out/lib/
|
||||||
'';
|
'';
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, cups, libusb, libxml2 }:
|
{ stdenv, fetchurl, cups, libusb-compat-0_1, libxml2 }:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
|
||||||
@ -17,7 +17,7 @@ in stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
cups
|
cups
|
||||||
libusb
|
libusb-compat-0_1
|
||||||
libxml2
|
libxml2
|
||||||
];
|
];
|
||||||
|
|
||||||
@ -74,7 +74,7 @@ in stdenv.mkDerivation rec {
|
|||||||
done
|
done
|
||||||
|
|
||||||
patchelf --set-rpath "$out/lib:${stdenv.lib.getLib cups}/lib" "$out/lib/libscmssc.so"
|
patchelf --set-rpath "$out/lib:${stdenv.lib.getLib cups}/lib" "$out/lib/libscmssc.so"
|
||||||
patchelf --set-rpath "$out/lib:${libxml2.out}/lib:${libusb.out}/lib" "$out/lib/sane/libsane-smfp.so.1.0.1"
|
patchelf --set-rpath "$out/lib:${libxml2.out}/lib:${libusb-compat-0_1.out}/lib" "$out/lib/sane/libsane-smfp.so.1.0.1"
|
||||||
|
|
||||||
ln -s ${stdenv.cc.cc.lib}/lib/libstdc++.so.6 $out/lib/
|
ln -s ${stdenv.cc.cc.lib}/lib/libstdc++.so.6 $out/lib/
|
||||||
'';
|
'';
|
||||||
|
@ -11,14 +11,14 @@
|
|||||||
# }
|
# }
|
||||||
# (This advice was tested on the 1st November 2016.)
|
# (This advice was tested on the 1st November 2016.)
|
||||||
|
|
||||||
{ stdenv, fetchurl, cups, libusb }:
|
{ stdenv, fetchurl, cups, libusb-compat-0_1 }:
|
||||||
|
|
||||||
# Do not bump lightly! Visit <http://www.bchemnet.com/suldr/supported.html>
|
# Do not bump lightly! Visit <http://www.bchemnet.com/suldr/supported.html>
|
||||||
# to see what will break when upgrading. Consider a new versioned attribute.
|
# to see what will break when upgrading. Consider a new versioned attribute.
|
||||||
let
|
let
|
||||||
installationPath = if stdenv.hostPlatform.system == "x86_64-linux" then "x86_64" else "i386";
|
installationPath = if stdenv.hostPlatform.system == "x86_64-linux" then "x86_64" else "i386";
|
||||||
appendPath = if stdenv.hostPlatform.system == "x86_64-linux" then "64" else "";
|
appendPath = if stdenv.hostPlatform.system == "x86_64-linux" then "64" else "";
|
||||||
libPath = stdenv.lib.makeLibraryPath [ cups libusb ] + ":$out/lib:${stdenv.cc.cc.lib}/lib${appendPath}";
|
libPath = stdenv.lib.makeLibraryPath [ cups libusb-compat-0_1 ] + ":$out/lib:${stdenv.cc.cc.lib}/lib${appendPath}";
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
pname = "samsung-UnifiedLinuxDriver";
|
pname = "samsung-UnifiedLinuxDriver";
|
||||||
version = "4.01.17";
|
version = "4.01.17";
|
||||||
|
@ -3,7 +3,7 @@ pkgconfig, libtool,
|
|||||||
gtk2,
|
gtk2,
|
||||||
libxml2,
|
libxml2,
|
||||||
libxslt,
|
libxslt,
|
||||||
libusb,
|
libusb-compat-0_1,
|
||||||
sane-backends,
|
sane-backends,
|
||||||
rpm, cpio,
|
rpm, cpio,
|
||||||
getopt,
|
getopt,
|
||||||
@ -263,7 +263,7 @@ stdenv.mkDerivation rec {
|
|||||||
gtk2
|
gtk2
|
||||||
libxml2
|
libxml2
|
||||||
libtool
|
libtool
|
||||||
libusb
|
libusb-compat-0_1
|
||||||
sane-backends
|
sane-backends
|
||||||
makeWrapper
|
makeWrapper
|
||||||
];
|
];
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
{ stdenv, lib, fetchurl, makeWrapper, pkgconfig
|
{ stdenv, lib, fetchurl, makeWrapper, pkgconfig
|
||||||
, ijs, zlib
|
, ijs, zlib
|
||||||
, gimp2Support ? false, gimp
|
, gimp2Support ? false, gimp
|
||||||
, cupsSupport ? true, cups, libusb, perl
|
, cupsSupport ? true, cups, libusb-compat-0_1, perl
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
|
|||||||
buildInputs =
|
buildInputs =
|
||||||
[ ijs zlib ]
|
[ ijs zlib ]
|
||||||
++ lib.optionals gimp2Support [ gimp.gtk gimp ]
|
++ lib.optionals gimp2Support [ gimp.gtk gimp ]
|
||||||
++ lib.optionals cupsSupport [ cups libusb perl ];
|
++ lib.optionals cupsSupport [ cups libusb-compat-0_1 perl ];
|
||||||
|
|
||||||
configureFlags = lib.optionals cupsSupport [
|
configureFlags = lib.optionals cupsSupport [
|
||||||
"--disable-static-genppd" # should be harmless on NixOS
|
"--disable-static-genppd" # should be harmless on NixOS
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
, fetchpatch
|
, fetchpatch
|
||||||
, patchelf
|
, patchelf
|
||||||
, freetype
|
, freetype
|
||||||
, libusb
|
, libusb-compat-0_1
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
license = lib.licenses.gpl2;
|
license = lib.licenses.gpl2;
|
||||||
@ -25,7 +25,7 @@ let
|
|||||||
sha256 = "1mkrf622n0cmz57lj8w9q82a9dcr1lmyyxbnrghrxzb6gvifnbqk";
|
sha256 = "1mkrf622n0cmz57lj8w9q82a9dcr1lmyyxbnrghrxzb6gvifnbqk";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ libusb ];
|
buildInputs = [ libusb-compat-0_1 ];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchFromGitHub, autoreconfHook, makeWrapper, pkgconfig
|
{ stdenv, fetchFromGitHub, autoreconfHook, makeWrapper, pkgconfig
|
||||||
, doxygen, freetype, libX11, libftdi, libusb, libusb1, ncurses, perl }:
|
, doxygen, freetype, libX11, libftdi, libusb-compat-0_1, libusb1, ncurses, perl }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "lcdproc";
|
pname = "lcdproc";
|
||||||
@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
|
|||||||
"--with-pidfile-dir=/run"
|
"--with-pidfile-dir=/run"
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [ freetype libX11 libftdi libusb libusb1 ncurses ];
|
buildInputs = [ freetype libX11 libftdi libusb-compat-0_1 libusb1 ncurses ];
|
||||||
nativeBuildInputs = [ autoreconfHook doxygen makeWrapper pkgconfig ];
|
nativeBuildInputs = [ autoreconfHook doxygen makeWrapper pkgconfig ];
|
||||||
|
|
||||||
# In 0.5.9: gcc: error: libbignum.a: No such file or directory
|
# In 0.5.9: gcc: error: libbignum.a: No such file or directory
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, libusb, glib, dbus-glib, bluez, openobex, dbus }:
|
{ stdenv, fetchurl, pkgconfig, libusb-compat-0_1, glib, dbus-glib, bluez, openobex, dbus }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "obex-data-server-0.4.6";
|
name = "obex-data-server-0.4.6";
|
||||||
@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [ libusb glib dbus-glib bluez openobex dbus ];
|
buildInputs = [ libusb-compat-0_1 glib dbus-glib bluez openobex dbus ];
|
||||||
|
|
||||||
patches = [ ./obex-data-server-0.4.6-build-fixes-1.patch ];
|
patches = [ ./obex-data-server-0.4.6-build-fixes-1.patch ];
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, bluez, libusb, cmake }:
|
{ stdenv, fetchurl, pkgconfig, bluez, libusb-compat-0_1, cmake }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "openobex-1.7.2";
|
name = "openobex-1.7.2";
|
||||||
@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig cmake ];
|
nativeBuildInputs = [ pkgconfig cmake ];
|
||||||
buildInputs = [ bluez libusb ];
|
buildInputs = [ bluez libusb-compat-0_1 ];
|
||||||
|
|
||||||
configureFlags = [ "--enable-apps" ];
|
configureFlags = [ "--enable-apps" ];
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, intltool, perl, gettext, libusb, pkgconfig, bluez
|
{ stdenv, fetchurl, intltool, perl, gettext, libusb-compat-0_1, pkgconfig, bluez
|
||||||
, readline, pcsclite, libical, gtk2, glib, libXpm }:
|
, readline, pcsclite, libical, gtk2, glib, libXpm }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
perl intltool gettext libusb
|
perl intltool gettext libusb-compat-0_1
|
||||||
glib gtk2 pkgconfig bluez readline
|
glib gtk2 pkgconfig bluez readline
|
||||||
libXpm pcsclite libical
|
libXpm pcsclite libical
|
||||||
];
|
];
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchgit, flex, bison, python, autoconf, automake, gnulib, libtool
|
{ stdenv, fetchgit, flex, bison, python, autoconf, automake, gnulib, libtool
|
||||||
, gettext, ncurses, libusb, freetype, qemu, lvm2, unifont, pkgconfig
|
, gettext, ncurses, libusb-compat-0_1, freetype, qemu, lvm2, unifont, pkgconfig
|
||||||
, fuse # only needed for grub-mount
|
, fuse # only needed for grub-mount
|
||||||
, zfs ? null
|
, zfs ? null
|
||||||
, efiSupport ? false
|
, efiSupport ? false
|
||||||
@ -54,7 +54,7 @@ stdenv.mkDerivation rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ bison flex python pkgconfig autoconf automake ];
|
nativeBuildInputs = [ bison flex python pkgconfig autoconf automake ];
|
||||||
buildInputs = [ ncurses libusb freetype gettext lvm2 fuse libtool ]
|
buildInputs = [ ncurses libusb-compat-0_1 freetype gettext lvm2 fuse libtool ]
|
||||||
++ optional doCheck qemu
|
++ optional doCheck qemu
|
||||||
++ optional zfsSupport zfs;
|
++ optional zfsSupport zfs;
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchurl, fetchgit, autogen, flex, bison, python, autoconf, automake
|
{ stdenv, fetchurl, fetchgit, autogen, flex, bison, python, autoconf, automake
|
||||||
, gettext, ncurses, libusb, freetype, qemu, lvm2
|
, gettext, ncurses, libusb-compat-0_1, freetype, qemu, lvm2
|
||||||
, for_HP_laptop ? false
|
, for_HP_laptop ? false
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -45,7 +45,7 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ autogen flex bison python autoconf automake ];
|
nativeBuildInputs = [ autogen flex bison python autoconf automake ];
|
||||||
buildInputs = [ ncurses libusb freetype gettext lvm2 ]
|
buildInputs = [ ncurses libusb-compat-0_1 freetype gettext lvm2 ]
|
||||||
++ optional doCheck qemu;
|
++ optional doCheck qemu;
|
||||||
|
|
||||||
hardeningDisable = [ "stackprotector" "pic" ];
|
hardeningDisable = [ "stackprotector" "pic" ];
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{stdenv, fetchurl, libusb, makeWrapper}:
|
{stdenv, fetchurl, libusb-compat-0_1, makeWrapper}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "pk2cmd-1.20";
|
name = "pk2cmd-1.20";
|
||||||
@ -7,7 +7,7 @@ stdenv.mkDerivation {
|
|||||||
sha256 = "1yjpi2qshnqfpan4w3ggakkr3znfrx5cxkny92ka7v9na3g2fc4h";
|
sha256 = "1yjpi2qshnqfpan4w3ggakkr3znfrx5cxkny92ka7v9na3g2fc4h";
|
||||||
};
|
};
|
||||||
|
|
||||||
makeFlags = [ "LIBUSB=${libusb.dev}" "linux" ];
|
makeFlags = [ "LIBUSB=${libusb-compat-0_1.dev}" "linux" ];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin $out/share/pk2
|
mkdir -p $out/bin $out/share/pk2
|
||||||
@ -16,7 +16,7 @@ stdenv.mkDerivation {
|
|||||||
wrapProgram $out/bin/pk2cmd --prefix PATH : $out/share/pk2
|
wrapProgram $out/bin/pk2cmd --prefix PATH : $out/share/pk2
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = [ libusb makeWrapper ];
|
buildInputs = [ libusb-compat-0_1 makeWrapper ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "https://www.microchip.com/pickit2";
|
homepage = "https://www.microchip.com/pickit2";
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, libusb }:
|
{ stdenv, fetchurl, libusb-compat-0_1 }:
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "sixpair-2007-04-18";
|
name = "sixpair-2007-04-18";
|
||||||
|
|
||||||
@ -10,7 +10,7 @@ stdenv.mkDerivation {
|
|||||||
# hcitool is depricated
|
# hcitool is depricated
|
||||||
patches = [ ./hcitool.patch ];
|
patches = [ ./hcitool.patch ];
|
||||||
|
|
||||||
buildInputs = [ libusb ];
|
buildInputs = [ libusb-compat-0_1 ];
|
||||||
|
|
||||||
unpackPhase = ''
|
unpackPhase = ''
|
||||||
cp $src sixpair.c
|
cp $src sixpair.c
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, autoconf, automake, pkgconfig, gettext, libtool, bison
|
{ stdenv, autoconf, automake, pkgconfig, gettext, libtool, bison
|
||||||
, flex, which, subversion, fetchsvn, makeWrapper, libftdi, libusb, readline
|
, flex, which, subversion, fetchsvn, makeWrapper, libftdi, libusb-compat-0_1, readline
|
||||||
, python3
|
, python3
|
||||||
, svfSupport ? true
|
, svfSupport ? true
|
||||||
, bsdlSupport ? true
|
, bsdlSupport ? true
|
||||||
@ -19,7 +19,7 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [ gettext autoconf automake libtool bison flex which
|
buildInputs = [ gettext autoconf automake libtool bison flex which
|
||||||
subversion makeWrapper readline libftdi libusb python3 ];
|
subversion makeWrapper readline libftdi libusb-compat-0_1 python3 ];
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
(stdenv.lib.enableFeature svfSupport "svf")
|
(stdenv.lib.enableFeature svfSupport "svf")
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchgit, libusb, libusb1, autoconf, automake, libconfuse, pkgconfig
|
{ stdenv, fetchgit, libusb-compat-0_1, libusb1, autoconf, automake, libconfuse, pkgconfig
|
||||||
, gccCross ? null
|
, gccCross ? null
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -30,7 +30,7 @@ stdenv.mkDerivation {
|
|||||||
dontCrossStrip = true;
|
dontCrossStrip = true;
|
||||||
|
|
||||||
nativeBuildInputs = [ autoconf automake pkgconfig ];
|
nativeBuildInputs = [ autoconf automake pkgconfig ];
|
||||||
buildInputs = [ libusb libusb1 libconfuse ] ++
|
buildInputs = [ libusb-compat-0_1 libusb1 libconfuse ] ++
|
||||||
stdenv.lib.optional (gccCross != null) gccCross;
|
stdenv.lib.optional (gccCross != null) gccCross;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
# Each of the dependencies below are optional.
|
# Each of the dependencies below are optional.
|
||||||
# Gnupg can be built without them at the cost of reduced functionality.
|
# Gnupg can be built without them at the cost of reduced functionality.
|
||||||
, pinentry ? null, guiSupport ? false
|
, pinentry ? null, guiSupport ? false
|
||||||
, openldap ? null, bzip2 ? null, libusb ? null, curl ? null
|
, openldap ? null, bzip2 ? null, libusb-compat-0_1 ? null, curl ? null
|
||||||
}:
|
}:
|
||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs
|
buildInputs
|
||||||
= [ readline zlib libgpgerror libgcrypt libassuan libksba pth
|
= [ readline zlib libgpgerror libgcrypt libassuan libksba pth
|
||||||
openldap bzip2 libusb curl libiconv ];
|
openldap bzip2 libusb-compat-0_1 curl libiconv ];
|
||||||
|
|
||||||
patches = [ ./gpgkey2ssh-20.patch ];
|
patches = [ ./gpgkey2ssh-20.patch ];
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, pcsclite , libusb }:
|
{ stdenv, fetchurl, pkgconfig, pcsclite , libusb-compat-0_1 }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
version = "1.7.11";
|
version = "1.7.11";
|
||||||
@ -12,7 +12,7 @@ stdenv.mkDerivation {
|
|||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [ pcsclite libusb ];
|
buildInputs = [ pcsclite libusb-compat-0_1 ];
|
||||||
|
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
makeFlagsArray=(usbdropdir="$out/pcsc/drivers");
|
makeFlagsArray=(usbdropdir="$out/pcsc/drivers");
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, unzip, libusb }:
|
{ stdenv, fetchurl, unzip, libusb-compat-0_1 }:
|
||||||
|
|
||||||
let
|
let
|
||||||
arch = if stdenv.hostPlatform.system == "i686-linux" then "32"
|
arch = if stdenv.hostPlatform.system == "i686-linux" then "32"
|
||||||
@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
|
|||||||
cp -r proprietary/*.bundle $out/pcsc/drivers
|
cp -r proprietary/*.bundle $out/pcsc/drivers
|
||||||
'';
|
'';
|
||||||
|
|
||||||
libPath = stdenv.lib.makeLibraryPath [ libusb ];
|
libPath = stdenv.lib.makeLibraryPath [ libusb-compat-0_1 ];
|
||||||
|
|
||||||
fixupPhase = ''
|
fixupPhase = ''
|
||||||
patchelf --set-rpath $libPath \
|
patchelf --set-rpath $libPath \
|
||||||
|
@ -249,6 +249,7 @@ mapAliases ({
|
|||||||
libtxc_dxtn = throw "removed 2020-03-16, now integrated in Mesa";
|
libtxc_dxtn = throw "removed 2020-03-16, now integrated in Mesa";
|
||||||
libtxc_dxtn_s2tc = throw "removed 2020-03-16, now integrated in Mesa";
|
libtxc_dxtn_s2tc = throw "removed 2020-03-16, now integrated in Mesa";
|
||||||
libudev = udev; # added 2018-04-25
|
libudev = udev; # added 2018-04-25
|
||||||
|
libusb = libusb-compat-0_1; # added 2020-04-28
|
||||||
libsexy = throw "libsexy has been removed from nixpkgs, as it's abandoned and no package needed it."; # 2019-12-10
|
libsexy = throw "libsexy has been removed from nixpkgs, as it's abandoned and no package needed it."; # 2019-12-10
|
||||||
libqmatrixclient = throw "libqmatrixclient was renamed to libquotient"; # added 2020-04-09
|
libqmatrixclient = throw "libqmatrixclient was renamed to libquotient"; # added 2020-04-09
|
||||||
links = links2; # added 2016-01-31
|
links = links2; # added 2016-01-31
|
||||||
|
@ -13356,7 +13356,7 @@ in
|
|||||||
|
|
||||||
liburcu = callPackage ../development/libraries/liburcu { };
|
liburcu = callPackage ../development/libraries/liburcu { };
|
||||||
|
|
||||||
libusb = callPackage ../development/libraries/libusb {};
|
libusb-compat-0_1 = callPackage ../development/libraries/libusb-compat/0.1.nix {};
|
||||||
|
|
||||||
libusb1 = callPackage ../development/libraries/libusb1 {
|
libusb1 = callPackage ../development/libraries/libusb1 {
|
||||||
inherit (darwin) libobjc;
|
inherit (darwin) libobjc;
|
||||||
|
Loading…
Reference in New Issue
Block a user