1 { stdenv, lib, fetchFromGitHub, cmake, bash-completion, pkg-config, libconfig, autoreconfHook }:
4 version = "unstable-2021-10-31";
5 src = fetchFromGitHub {
6 owner = "linux-usb-gadgets";
8 rev = "060784424609d5a4e3bce8355f788c93f09802a5";
9 sha256 = "172qh8gva17jr18ldhf9zi960w2bqzmp030w6apxq57c9nv6d8k7";
11 nativeBuildInputs = [ autoreconfHook pkg-config ];
12 buildInputs = [ libconfig ];
14 description = "C library encapsulating the kernel USB gadget-configfs userspace API functionality";
15 license = with lib.licenses; [
19 maintainers = with lib.maintainers; [ lheckemann ];
20 platforms = lib.platforms.linux;