tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
libusbgx: init at 2021-10-31
Linus Heckemann
4 years ago
eb5e5f13
fc4148a4
+24
2 changed files
expand all
collapse all
unified
split
pkgs
development
libraries
libusbgx
default.nix
top-level
all-packages.nix
+22
pkgs/development/libraries/libusbgx/default.nix
···
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
···
1
+
{ stdenv, lib, fetchFromGitHub, cmake, bash-completion, pkg-config, libconfig, autoreconfHook }:
2
+
stdenv.mkDerivation {
3
+
pname = "libusbgx";
4
+
version = "unstable-2021-10-31";
5
+
src = fetchFromGitHub {
6
+
owner = "linux-usb-gadgets";
7
+
repo = "libusbgx";
8
+
rev = "060784424609d5a4e3bce8355f788c93f09802a5";
9
+
sha256 = "172qh8gva17jr18ldhf9zi960w2bqzmp030w6apxq57c9nv6d8k7";
10
+
};
11
+
nativeBuildInputs = [ autoreconfHook pkg-config ];
12
+
buildInputs = [ libconfig ];
13
+
meta = {
14
+
description = "C library encapsulating the kernel USB gadget-configfs userspace API functionality";
15
+
license = with lib.licenses; [
16
+
lgpl21Plus # library
17
+
gpl2Plus # examples
18
+
];
19
+
maintainers = with lib.maintainers; [ lheckemann ];
20
+
platforms = lib.platforms.linux;
21
+
};
22
+
}
+2
pkgs/top-level/all-packages.nix
···
18561
udev = systemdMinimal;
18562
};
18563
0
0
18564
libusbmuxd = callPackage ../development/libraries/libusbmuxd { };
18565
18566
libutempter = callPackage ../development/libraries/libutempter { };
···
18561
udev = systemdMinimal;
18562
};
18563
18564
+
libusbgx = callPackage ../development/libraries/libusbgx { };
18565
+
18566
libusbmuxd = callPackage ../development/libraries/libusbmuxd { };
18567
18568
libutempter = callPackage ../development/libraries/libutempter { };