mirror of
https://github.com/NixOS/mobile-nixos.git
synced 2024-12-13 12:35:48 +03:00
28 lines
480 B
Nix
28 lines
480 B
Nix
{ 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=";
|
|
};
|
|
}
|