1
1
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:
Daniel Barlow 2022-10-03 23:07:25 -04:00 committed by Samuel Dionne-Riel
parent 93de3d1ab1
commit 57e9083cae
2 changed files with 28 additions and 0 deletions

27
overlay/gt/default.nix Normal file
View 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=";
};
}

View File

@ -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