mirror of
https://github.com/NixOS/mobile-nixos.git
synced 2024-11-09 16:34:32 +03:00
gadget-tool: Init at 7f9c45d98425a27444e49606ce3cf375e6164e8e
This commit is contained in:
parent
93de3d1ab1
commit
57e9083cae
27
overlay/gt/default.nix
Normal file
27
overlay/gt/default.nix
Normal file
@ -0,0 +1,27 @@
|
||||
{ stdenv
|
||||
, fetchFromGitHub
|
||||
, libconfig
|
||||
, libusbgx
|
||||
, cmake
|
||||
, pkg-config
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gt";
|
||||
version = "git";
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
pkg-config
|
||||
];
|
||||
buildInputs = [
|
||||
libconfig
|
||||
libusbgx
|
||||
];
|
||||
sourceRoot = "${src.name}/source";
|
||||
src = fetchFromGitHub {
|
||||
owner = "linux-usb-gadgets";
|
||||
repo = "gt";
|
||||
rev = "7f9c45d98425a27444e49606ce3cf375e6164e8e";
|
||||
hash = "sha256-km4U+t4Id2AZx6GpH24p2WNmvV5RVjJ14sy8tWLCQsk=";
|
||||
};
|
||||
}
|
@ -57,6 +57,7 @@ in
|
||||
hardshutdown = callPackage ./hardshutdown {};
|
||||
bootlogd = callPackage ./bootlogd {};
|
||||
libusbgx = callPackage ./libusbgx {};
|
||||
gadget-tool = callPackage ./gt {}; # upstream this is called "gt", which is very Unix.
|
||||
|
||||
#
|
||||
# Hacks
|
||||
|
Loading…
Reference in New Issue
Block a user