Skip to content
This repository was archived by the owner on Apr 12, 2021. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 95b35a2514ff
Choose a base ref
...
head repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: bfa2452dc83c
Choose a head ref
  • 11 commits
  • 67 files changed
  • 7 contributors

Commits on Apr 27, 2020

  1. dotnet: add initial support for arm64

    `jellyfin` appeared unsupported on `aarch64` due to `dotnet` platform
    support in nixpkgs, but there are ARM64 downloads of the `dotnet` SDKs
    available. This change follows the kind of pattern used in the
    `firecracker` packaging to support selective x86_64/arm64 downloads.
    
    With this change I can build `jellyfin` on a Raspberry Pi 4. The other
    content hashes have been filled in, and all build successfully, but
    they have not been further tested.
    purcell committed Apr 27, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    alexarice Alex Rice
    Copy the full SHA
    3e98f66 View commit details

Commits on Apr 28, 2020

  1. Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    mweinelt Martin Weinelt
    Copy the full SHA
    e89e2ed View commit details
  2. libusb: point alias to libusb1

    Until recently, libusb-compat propagated libusb1 and many packages unknowingly used it to obtain libusb1.
    When NixOS/nixpkgs#82944 removed this evil propagation, it broke many packages with such incorrect assumption.
    This patch trades the breakage of packages wanting libusb1 caused by the PR for a hopefully less common breakage of the packages relying on the compat library.
    jtojnar committed Apr 28, 2020

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    mweinelt Martin Weinelt
    Copy the full SHA
    45edbeb View commit details
  3. Copy the full SHA
    db4aece View commit details

Commits on Apr 29, 2020

  1. fish: 3.1.1 -> 3.1.2

    fish-shell/fish-shell@3.1.1...3.1.2
    
    "This release of fish fixes a major issue discovered in fish 3.1.1:
    Commands such as `fzf` and `enhancd`, when used with `eval`, would hang.
    `eval` buffered output too aggressively, which has been fixed."
    cole-h committed Apr 29, 2020
    Copy the full SHA
    7a15b60 View commit details
  2. v4l2loopback: 0.12.4 -> 0.12.5

    jakobrs authored and bjornfor committed Apr 29, 2020
    Copy the full SHA
    d21cc14 View commit details
  3. Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    marsam Mario Rodas
    Copy the full SHA
    a6dc21f View commit details
  4. Merge pull request #86285 from cole-h/fish

    fish: 3.1.1 -> 3.1.2
    worldofpeace authored Apr 29, 2020
    Copy the full SHA
    d67d074 View commit details
  5. Verified

    This commit was signed with the committer’s verified signature.
    primeos Michael Weiss
    Copy the full SHA
    6015d03 View commit details
  6. Copy the full SHA
    2b5e2ff View commit details
  7. Merge pull request #86206 from primeos/chromium

    chromium: 81.0.4044.122 -> 81.0.4044.129
    primeos authored Apr 29, 2020
    Copy the full SHA
    bfa2452 View commit details
Showing with 194 additions and 161 deletions.
  1. +1 −1 nixos/modules/services/x11/desktop-managers/pantheon.xml
  2. +2 −2 pkgs/applications/blockchains/monero-gui/default.nix
  3. +2 −2 pkgs/applications/blockchains/monero/default.nix
  4. +3 −3 pkgs/applications/graphics/sane/backends/brscan4/default.nix
  5. +2 −2 pkgs/applications/graphics/sane/frontends.nix
  6. +2 −2 pkgs/applications/graphics/sane/xsane.nix
  7. +2 −2 pkgs/applications/misc/digitalbitbox/default.nix
  8. +2 −2 pkgs/applications/misc/garmin-plugin/default.nix
  9. +5 −5 pkgs/applications/misc/golden-cheetah/default.nix
  10. +1 −1 pkgs/applications/misc/lutris/chrootenv.nix
  11. +3 −3 pkgs/applications/misc/nut/default.nix
  12. +2 −2 pkgs/applications/misc/qlandkartegt/garmindev.nix
  13. +2 −2 pkgs/applications/misc/qlcplus/default.nix
  14. +2 −2 pkgs/applications/misc/subsurface/default.nix
  15. +9 −9 pkgs/applications/networking/browsers/chromium/upstream-info.nix
  16. +2 −2 pkgs/applications/radio/sdrangel/default.nix
  17. +2 −2 pkgs/applications/radio/soapysdr/default.nix
  18. +2 −2 pkgs/applications/radio/welle-io/default.nix
  19. +2 −2 pkgs/applications/science/math/cemu/default.nix
  20. +2 −2 pkgs/applications/science/robotics/gazebo/default.nix
  21. +3 −3 pkgs/applications/video/kodi/default.nix
  22. +4 −4 pkgs/development/arduino/arduino-core/default.nix
  23. +9 −5 pkgs/development/compilers/dotnet/buildDotnet.nix
  24. +41 −13 pkgs/development/compilers/dotnet/default.nix
  25. +2 −2 pkgs/development/libraries/garmintools/default.nix
  26. +2 −2 pkgs/development/libraries/hamlib/default.nix
  27. +3 −3 pkgs/development/libraries/libftdi/default.nix
  28. +2 −2 pkgs/development/libraries/libnfc/default.nix
  29. 0 pkgs/development/libraries/{libusb/default.nix → libusb-compat/0.1.nix}
  30. +2 −2 pkgs/development/libraries/lirc/default.nix
  31. +2 −2 pkgs/development/libraries/openct/default.nix
  32. +2 −2 pkgs/development/libraries/scmccid/default.nix
  33. +2 −2 pkgs/development/libraries/unicap/default.nix
  34. +2 −2 pkgs/development/misc/msp430/mspdebug.nix
  35. +2 −2 pkgs/development/mobile/webos/novacomd.nix
  36. +2 −2 pkgs/development/mobile/xpwn/default.nix
  37. +2 −2 pkgs/development/tools/analysis/radare2/default.nix
  38. +2 −2 pkgs/development/tools/misc/avrdude/default.nix
  39. +2 −2 pkgs/development/tools/misc/blackmagic/default.nix
  40. +2 −2 pkgs/development/tools/misc/dfu-programmer/default.nix
  41. +2 −2 pkgs/development/tools/misc/micronucleus/default.nix
  42. +2 −2 pkgs/development/tools/misc/teensy-loader-cli/default.nix
  43. +2 −2 pkgs/development/tools/misc/wishbone-tool/default.nix
  44. +2 −2 pkgs/development/tools/misc/xc3sprog/default.nix
  45. +3 −3 pkgs/misc/cups/drivers/samsung/1.00.36/default.nix
  46. +3 −3 pkgs/misc/cups/drivers/samsung/1.00.37.nix
  47. +2 −2 pkgs/misc/cups/drivers/samsung/4.01.17.nix
  48. +2 −2 pkgs/misc/drivers/epkowa/default.nix
  49. +2 −2 pkgs/misc/drivers/gutenprint/default.nix
  50. +2 −2 pkgs/os-specific/linux/g15daemon/default.nix
  51. +2 −2 pkgs/os-specific/linux/v4l2loopback/default.nix
  52. +2 −2 pkgs/servers/monitoring/lcdproc/default.nix
  53. +3 −3 pkgs/shells/fish/default.nix
  54. +2 −2 pkgs/tools/bluetooth/obex-data-server/default.nix
  55. +2 −2 pkgs/tools/bluetooth/openobex/default.nix
  56. +2 −2 pkgs/tools/misc/gnokii/default.nix
  57. +2 −2 pkgs/tools/misc/grub/2.0x.nix
  58. +2 −2 pkgs/tools/misc/grub/trusted.nix
  59. +3 −3 pkgs/tools/misc/pk2cmd/default.nix
  60. +2 −2 pkgs/tools/misc/sixpair/default.nix
  61. +2 −2 pkgs/tools/misc/urjtag/default.nix
  62. +2 −2 pkgs/tools/misc/xburst-tools/default.nix
  63. +2 −2 pkgs/tools/security/gnupg/20.nix
  64. +2 −2 pkgs/tools/security/libacr38u/default.nix
  65. +2 −2 pkgs/tools/security/pcsc-scm-scl011/default.nix
  66. +1 −0 pkgs/top-level/aliases.nix
  67. +1 −1 pkgs/top-level/all-packages.nix
2 changes: 1 addition & 1 deletion nixos/modules/services/x11/desktop-managers/pantheon.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<chapter xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink"
xml:id="chap-pantheon">
<title>Pantheon Destkop</title>
<title>Pantheon Desktop</title>
<para>
Pantheon is the desktop environment created for the elementary OS distribution. It is written from scratch in Vala, utilizing GNOME technologies with GTK 3 and Granite.
</para>
4 changes: 2 additions & 2 deletions pkgs/applications/blockchains/monero-gui/default.nix
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@
, qtquickcontrols, qtquickcontrols2
, monero, unbound, readline, boost, libunwind
, libsodium, pcsclite, zeromq, cppzmq
, hidapi, libusb, protobuf, randomx
, hidapi, libusb-compat-0_1, protobuf, randomx
}:

with stdenv.lib;
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
qtxmlpatterns
monero unbound readline
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" ];
4 changes: 2 additions & 2 deletions pkgs/applications/blockchains/monero/default.nix
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
, cmake, pkgconfig
, boost, miniupnpc, openssl, unbound, cppzmq
, zeromq, pcsclite, readline, libsodium, hidapi
, pythonProtobuf, randomx, rapidjson, libusb
, pythonProtobuf, randomx, rapidjson, libusb-compat-0_1
, CoreData, IOKit, PCSC
}:

@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
boost miniupnpc openssl unbound
cppzmq zeromq pcsclite readline
libsodium hidapi randomx rapidjson
pythonProtobuf libusb
pythonProtobuf libusb-compat-0_1
] ++ stdenv.lib.optionals stdenv.isDarwin [ IOKit CoreData PCSC ];

cmakeFlags = [
6 changes: 3 additions & 3 deletions pkgs/applications/graphics/sane/backends/brscan4/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, callPackage, patchelf, makeWrapper, coreutils, libusb }:
{ stdenv, fetchurl, callPackage, patchelf, makeWrapper, coreutils, libusb-compat-0_1 }:

let
myPatchElf = file: with stdenv.lib; ''
@@ -30,13 +30,13 @@ in stdenv.mkDerivation rec {
'';

nativeBuildInputs = [ makeWrapper patchelf coreutils udevRules ];
buildInputs = [ libusb ];
buildInputs = [ libusb-compat-0_1 ];
dontBuild = true;

patchPhase = ''
${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
if ! test -L $a; then
patchelf --set-rpath $RPATH $a
4 changes: 2 additions & 2 deletions pkgs/applications/graphics/sane/frontends.nix
Original file line number Diff line number Diff line change
@@ -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 {
pname = "sane-frontends";
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
'';

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 ];

enableParallelBuilding = true;
4 changes: 2 additions & 2 deletions pkgs/applications/graphics/sane/xsane.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ stdenv, fetchurl, sane-backends, sane-frontends, libX11, gtk2, pkgconfig, libpng
, libusb ? null
, libusb-compat-0_1 ? null
, gimpSupport ? false, gimp ? null
}:

@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {

nativeBuildInputs = [ pkgconfig ];
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;

meta = {
4 changes: 2 additions & 2 deletions pkgs/applications/misc/digitalbitbox/default.nix
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@
, libtool
, qrencode
, udev
, libusb
, libusb-compat-0_1
, makeWrapper
, pkgconfig
, qtbase
@@ -70,7 +70,7 @@ in stdenv.mkDerivation rec {
libevent
libtool
udev
libusb
libusb-compat-0_1
qrencode

qtbase
4 changes: 2 additions & 2 deletions pkgs/applications/misc/garmin-plugin/default.nix
Original file line number Diff line number Diff line change
@@ -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 {
name = "garmin-plugin-0.3.26";
src = fetchurl {
@@ -7,7 +7,7 @@ stdenv.mkDerivation {
};
sourceRoot = "GarminPlugin-0.3.26/src";
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ garmintools libusb libgcrypt tinyxml zlib ];
buildInputs = [ garmintools libusb-compat-0_1 libgcrypt tinyxml zlib ];
configureFlags = [
"--with-libgcrypt-prefix=${libgcrypt.dev}"
"--with-garmintools-incdir=${garmintools}/include"
10 changes: 5 additions & 5 deletions pkgs/applications/misc/golden-cheetah/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub, mkDerivation
, qtbase, qtsvg, qtserialport, qtwebengine, qtmultimedia, qttools
, qtconnectivity, qtcharts, libusb
, qtconnectivity, qtcharts, libusb-compat-0_1
, yacc, flex, zlib, qmake, makeDesktopItem, makeWrapper
}:

@@ -27,7 +27,7 @@ in mkDerivation rec {

buildInputs = [
qtbase qtsvg qtserialport qtwebengine qtmultimedia qttools zlib
qtconnectivity qtcharts libusb
qtconnectivity qtcharts libusb-compat-0_1
];
nativeBuildInputs = [ flex makeWrapper qmake yacc ];

@@ -39,9 +39,9 @@ in mkDerivation rec {
cp src/gcconfig.pri.in src/gcconfig.pri
cp qwt/qwtconfig.pri.in qwt/qwtconfig.pri
echo 'QMAKE_LRELEASE = ${qttools.dev}/bin/lrelease' >> src/gcconfig.pri
echo 'LIBUSB_INSTALL = ${libusb}' >> src/gcconfig.pri
echo 'LIBUSB_INCLUDE = ${libusb.dev}/include' >> src/gcconfig.pri
echo 'LIBUSB_LIBS = -L${libusb}/lib -lusb' >> src/gcconfig.pri
echo 'LIBUSB_INSTALL = ${libusb-compat-0_1}' >> src/gcconfig.pri
echo 'LIBUSB_INCLUDE = ${libusb-compat-0_1.dev}/include' >> 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
# Use qtwebengine instead of qtwebkit
2 changes: 1 addition & 1 deletion pkgs/applications/misc/lutris/chrootenv.nix
Original file line number Diff line number Diff line change
@@ -92,7 +92,7 @@ in buildFHSUserEnv {
multiPkgs = pkgs: with pkgs; [
# Common
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
libcap libtiff libva libgphoto2 libxslt libsndfile giflib zlib glib
alsaLib zziplib bash dbus keyutils zip cabextract freetype unzip coreutils
6 changes: 3 additions & 3 deletions pkgs/applications/misc/nut/default.nix
Original file line number Diff line number Diff line change
@@ -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
}:

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

@@ -38,7 +38,7 @@ stdenv.mkDerivation rec {

postInstall = ''
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; {
4 changes: 2 additions & 2 deletions pkgs/applications/misc/qlandkartegt/garmindev.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, cmake, libusb }:
{ stdenv, fetchurl, cmake, libusb-compat-0_1 }:

stdenv.mkDerivation rec {
pname = "garmindev";
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {

nativeBuildInputs = [ cmake ];

buildInputs = [ libusb ];
buildInputs = [ libusb-compat-0_1 ];

enableParallelBuilding = true;

4 changes: 2 additions & 2 deletions pkgs/applications/misc/qlcplus/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ stdenv, mkDerivation, fetchFromGitHub, qmake, pkgconfig, udev
, qtmultimedia, qtscript, alsaLib, ola, libftdi1, libusb
, qtmultimedia, qtscript, alsaLib, ola, libftdi1, libusb-compat-0_1
, libsndfile, libmad
}:

@@ -16,7 +16,7 @@ mkDerivation rec {

nativeBuildInputs = [ qmake pkgconfig ];
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)" ];
4 changes: 2 additions & 2 deletions pkgs/applications/misc/subsurface/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ 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
}:

@@ -83,7 +83,7 @@ in stdenv.mkDerivation {

buildInputs = [
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
];

18 changes: 9 additions & 9 deletions pkgs/applications/networking/browsers/chromium/upstream-info.nix
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
# This file is autogenerated from update.sh in the same directory.
{
beta = {
sha256 = "1s16wl101yabq0l7w0q50lxkr2gn090pcaj6l5sj6g5xvi9lhgbf";
sha256bin64 = "0k6fsqlpiwp9vds83hb3cg9xf74hqgbfdm3ijyad2rmwc5rqk0ax";
version = "83.0.4103.14";
sha256 = "1s3flhzp69g62285r9nwc5m9fa65ldx19inwdm4nq1m5bn63v6lj";
sha256bin64 = "0xbbj89xx98vvw1a4l4wj7hhwjasdmkxbbkgaad2cj4zqmbb8h52";
version = "83.0.4103.23";
};
dev = {
sha256 = "0djppzwzpfyyfjb1mhy5wws2379m3wpzyk2x3kw5nd0mdz35hbny";
sha256bin64 = "1wg55qhfvd5zvigjl6496za81mh9b2c5da53zy07bk8wj91ly8pf";
version = "84.0.4115.5";
sha256 = "1jgx55sb3azwb2rni89yxlz94j264iilwh0br29sngcailxamrbd";
sha256bin64 = "107yndkcdb78zxpswn9aja63n0q4q5q49183058z5jm4zlplkgad";
version = "84.0.4122.7";
};
stable = {
sha256 = "0ahqh3vmzbpai4xwn7qybgw9phc8ssjdvfc7384mxqk9swqgv7qg";
sha256bin64 = "0gpgim244594m35qwf625blwdqgjbp4qr846wq75a9a9zqwqs05w";
version = "81.0.4044.122";
sha256 = "1ls663s1f74p912x42qp3zcvm17kmjiv1ij6yy1c14gdhcpmjx7z";
sha256bin64 = "0nzds27x1j3298cq5xkgikjdddymbw88gcpnlm03492b6090257y";
version = "81.0.4044.129";
};
}
4 changes: 2 additions & 2 deletions pkgs/applications/radio/sdrangel/default.nix
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@ libav,
libiio,
libopus,
libpulseaudio,
libusb,
libusb-compat-0_1,
limesuite,
mkDerivation,
ocl-icd,
@@ -51,7 +51,7 @@ in mkDerivation rec {

nativeBuildInputs = [ cmake pkgconfig ];
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
fftwFloat codec2' cm256cc serialdv
];
4 changes: 2 additions & 2 deletions pkgs/applications/radio/soapysdr/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ stdenv, lib, lndir, makeWrapper
, fetchFromGitHub, cmake
, libusb, pkgconfig
, libusb-compat-0_1, pkgconfig
, usePython ? false
, python, ncurses, swig2
, extraPackages ? []
@@ -25,7 +25,7 @@ in stdenv.mkDerivation {
};

nativeBuildInputs = [ cmake makeWrapper pkgconfig ];
buildInputs = [ libusb ncurses ]
buildInputs = [ libusb-compat-0_1 ncurses ]
++ lib.optionals usePython [ python swig2 ];

propagatedBuildInputs = lib.optional usePython python.pkgs.numpy;
4 changes: 2 additions & 2 deletions pkgs/applications/radio/welle-io/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ mkDerivation, lib, fetchFromGitHub, cmake, pkgconfig
, 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

version = "2.1";
@@ -23,7 +23,7 @@ in mkDerivation {
faad2
fftwSinglePrec
lame
libusb
libusb-compat-0_1
mpg123
qtbase
qtcharts
4 changes: 2 additions & 2 deletions pkgs/applications/science/math/cemu/default.nix
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@
, SDL2
, libGL
, libarchive
, libusb
, libusb-compat-0_1
, qtbase
, qmake
, git
@@ -33,7 +33,7 @@ mkDerivation rec {
SDL2
libGL
libarchive
libusb
libusb-compat-0_1
qtbase
libpng_apng
];
4 changes: 2 additions & 2 deletions pkgs/applications/science/robotics/gazebo/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, cmake, pkgconfig, boost, protobuf, freeimage
, boost-build, boost_process
, xorg_sys_opengl, tbb, ogre, tinyxml-2
, libtar, glxinfo, libusb, libxslt, ignition
, libtar, glxinfo, libusb-compat-0_1, libxslt, ignition
, pythonPackages, utillinux

# these deps are hidden; cmake doesn't catch them
@@ -52,7 +52,7 @@ stdenv.mkDerivation rec {
tinyxml-2
libtar
glxinfo
libusb
libusb-compat-0_1
libxslt
ignition.math2
sdformat
6 changes: 3 additions & 3 deletions pkgs/applications/video/kodi/default.nix
Original file line number Diff line number Diff line change
@@ -25,7 +25,7 @@
, rtmpSupport ? true, rtmpdump ? null
, sambaSupport ? true, samba ? null
, udevSupport ? true, udev ? null
, usbSupport ? false, libusb ? null
, usbSupport ? false, libusb-compat-0_1 ? null
, vdpauSupport ? true, libvdpau ? null
, useWayland ? false, wayland ? null, wayland-protocols ? null
, waylandpp ? null, libxkbcommon ? null
@@ -39,7 +39,7 @@ assert pulseSupport -> libpulseaudio != null;
assert rtmpSupport -> rtmpdump != null;
assert sambaSupport -> samba != 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 useWayland -> wayland != null && wayland-protocols != null && waylandpp != null && libxkbcommon != null;

@@ -189,7 +189,7 @@ in stdenv.mkDerivation {
++ lib.optional rtmpSupport rtmpdump
++ lib.optional sambaSupport samba
++ lib.optional udevSupport udev
++ lib.optional usbSupport libusb
++ lib.optional usbSupport libusb-compat-0_1
++ lib.optional vdpauSupport libvdpau
++ lib.optionals useWayland [
wayland
Loading