3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/os-specific/linux/usbip/default.nix
Moritz U f6dfa221c9 usbip: init at ${kernel.version} (#31948)
* usbip: Init at ${kernel.version}

* usbip: simplify build

* usbip: fix build on bcachefs kernel

* usbip: revert autoreconfHook

sorry for breakage, I was testing the wrong code
2017-11-22 22:54:50 +00:00

23 lines
545 B
Nix

{ stdenv, kernel, udev, autoconf, automake, libtool }:
stdenv.mkDerivation rec {
name = "usbip-${kernel.name}";
src = kernel.src;
nativeBuildInputs = [ autoconf automake libtool ];
buildInputs = [ udev ];
preConfigure = ''
cd tools/usb/usbip
./autogen.sh
'';
meta = with stdenv.lib; {
homepage = https://github.com/torvalds/linux/tree/master/tools/usb/usbip;
description = "allows to pass USB device from server to client over the network";
license = licenses.gpl2;
platforms = platforms.linux;
};
}