Skip to content

Commit

Permalink
usbip: init at ${kernel.version} (#31948)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
the-kenny authored and Mic92 committed Nov 22, 2017
1 parent 322b834 commit f6dfa22
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
22 changes: 22 additions & 0 deletions pkgs/os-specific/linux/usbip/default.nix
@@ -0,0 +1,22 @@
{ 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;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -12718,6 +12718,8 @@ with pkgs;

tp_smapi = callPackage ../os-specific/linux/tp_smapi { };

usbip = callPackage ../os-specific/linux/usbip { };

v86d = callPackage ../os-specific/linux/v86d { };

vhba = callPackage ../misc/emulators/cdemu/vhba.nix { };
Expand Down

0 comments on commit f6dfa22

Please sign in to comment.