git.iko.soy/typeable/nixpkgs
on master help sign in
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

commitf6dfa221c9a38aa1cf24c47c92ec56acf5cfdae6 authorMoritz U <moritz@tarn-vedra.de> dateWed 22 Nov 2017, 23:54 (9 years ago) parent322b834
2 files changed+24
pkgs/os-specific/linux/usbip/default.nix+22 pkgs/top-level/all-packages.nix+2
pkgs/os-specific/linux/usbip/default.nixnew file+22
@@ -0,0 +1,22 @@
1+{ stdenv, kernel, udev, autoconf, automake, libtool }:
2+
3+stdenv.mkDerivation rec {
4+ name = "usbip-${kernel.name}";
5+
6+ src = kernel.src;
7+
8+ nativeBuildInputs = [ autoconf automake libtool ];
9+ buildInputs = [ udev ];
10+
11+ preConfigure = ''
12+ cd tools/usb/usbip
13+ ./autogen.sh
14+ '';
15+
16+ meta = with stdenv.lib; {
17+ homepage = https://github.com/torvalds/linux/tree/master/tools/usb/usbip;
18+ description = "allows to pass USB device from server to client over the network";
19+ license = licenses.gpl2;
20+ platforms = platforms.linux;
21+ };
22+}
pkgs/top-level/all-packages.nix+2
@@ -12718,6 +12718,8 @@ with pkgs;
1271812718
1271912719 tp_smapi = callPackage ../os-specific/linux/tp_smapi { };
1272012720
12721+ usbip = callPackage ../os-specific/linux/usbip { };
12722+
1272112723 v86d = callPackage ../os-specific/linux/v86d { };
1272212724
1272312725 vhba = callPackage ../misc/emulators/cdemu/vhba.nix { };