usbredir: request libusb1 directly

Also, fix the website there, and tidy up the spice-gtk derivation, which
makes use of libusb1 too.
This commit is contained in:
Florian Klink 2020-04-24 23:38:18 +02:00
parent eac6c63db1
commit d0b9aa6fa2
3 changed files with 30 additions and 31 deletions

View File

@ -1,35 +1,36 @@
{ stdenv
, fetchurl
, pkgconfig
, acl
, cyrus_sasl
, docbook_xsl
, epoxy
, gettext
, gobject-introspection
, gst_all_1
, gtk-doc
, gtk3
, json-glib
, libcacard
, libdrm
, libjpeg_turbo
, libopus
, libsoup
, libusb1
, lz4
, meson
, ninja
, openssl
, perl
, phodav
, pixman
, pkgconfig
, polkit
, python3
, spice-protocol
, gettext
, openssl
, pixman
, gobject-introspection
, libjpeg_turbo
, zlib
, cyrus_sasl
, usbredir
, libsoup
, polkit
, acl
, usbutils
, vala
, gtk3
, epoxy
, libdrm
, gst_all_1
, phodav
, libopus
, gtk-doc
, json-glib
, lz4
, libcacard
, perl
, docbook_xsl
, zlib
, withPolkit ? true
}:
@ -99,9 +100,10 @@ stdenv.mkDerivation rec {
libcacard
libdrm
libjpeg_turbo
libopus
libusb1
lz4
openssl
libopus
phodav
pixman
spice-protocol

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, libusb }:
{ stdenv, fetchurl, pkgconfig, libusb1 }:
stdenv.mkDerivation rec {
pname = "usbredir";
@ -12,14 +12,13 @@ stdenv.mkDerivation rec {
NIX_CFLAGS_COMPILE = "-Wno-error";
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libusb ];
propagatedBuildInputs = [ libusb ];
propagatedBuildInputs = [ libusb1 ];
outputs = [ "out" "dev" ];
meta = with stdenv.lib; {
description = "USB traffic redirection protocol";
homepage = "http://spice-space.org/page/UsbRedir";
homepage = "https://www.spice-space.org/usbredir.html";
license = licenses.lgpl21;
maintainers = [ maintainers.offline ];

View File

@ -14793,9 +14793,7 @@ in
ustr = callPackage ../development/libraries/ustr { };
usbredir = callPackage ../development/libraries/usbredir {
libusb = libusb1;
};
usbredir = callPackage ../development/libraries/usbredir { };
uthash = callPackage ../development/libraries/uthash { };