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-27 12:16:40 +02:00
parent eac6c63db1
commit d0b9aa6fa2
3 changed files with 30 additions and 31 deletions
@@ -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 ];