Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
33 lines
746 B
Nix
33 lines
746 B
Nix
{
|
|
stdenv,
|
|
lib,
|
|
fetchFromGitHub,
|
|
pkg-config,
|
|
libconfig,
|
|
autoreconfHook,
|
|
}:
|
|
stdenv.mkDerivation {
|
|
pname = "libusbgx";
|
|
version = "unstable-2021-10-31";
|
|
src = fetchFromGitHub {
|
|
owner = "linux-usb-gadgets";
|
|
repo = "libusbgx";
|
|
rev = "060784424609d5a4e3bce8355f788c93f09802a5";
|
|
sha256 = "172qh8gva17jr18ldhf9zi960w2bqzmp030w6apxq57c9nv6d8k7";
|
|
};
|
|
nativeBuildInputs = [
|
|
autoreconfHook
|
|
pkg-config
|
|
];
|
|
buildInputs = [ libconfig ];
|
|
meta = {
|
|
description = "C library encapsulating the kernel USB gadget-configfs userspace API functionality";
|
|
license = with lib.licenses; [
|
|
lgpl21Plus # library
|
|
gpl2Plus # examples
|
|
];
|
|
maintainers = [ ];
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
}
|