at 18.09-beta 28 lines 713 B view raw
1{ stdenv, fetchurl, pkgconfig, libusb }: 2 3stdenv.mkDerivation rec { 4 name = "usbredir-${version}"; 5 version = "0.8.0"; 6 7 src = fetchurl { 8 url = "https://spice-space.org/download/usbredir/${name}.tar.bz2"; 9 sha256 = "002yik1x7kn0427xahvnhjby2np14a6xqw7c3dx530n9h5d9rg47"; 10 }; 11 12 NIX_CFLAGS_COMPILE = [ "-Wno-error" ]; 13 14 nativeBuildInputs = [ pkgconfig ]; 15 buildInputs = [ libusb ]; 16 propagatedBuildInputs = [ libusb ]; 17 18 outputs = [ "out" "dev" ]; 19 20 meta = with stdenv.lib; { 21 description = "USB traffic redirection protocol"; 22 homepage = http://spice-space.org/page/UsbRedir; 23 license = licenses.lgpl21; 24 25 maintainers = [ maintainers.offline ]; 26 platforms = platforms.linux; 27 }; 28}