bb584b27e9
GitOrigin-RevId: 5181d5945eda382ff6a9ca3e072ed6ea9b547fee
24 lines
480 B
Nix
24 lines
480 B
Nix
{ lib, stdenv, linux }:
|
|
|
|
with lib;
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "gpio-utils";
|
|
version = linux.version;
|
|
|
|
inherit (linux) src makeFlags;
|
|
|
|
preConfigure = ''
|
|
cd tools/gpio
|
|
'';
|
|
|
|
separateDebugInfo = true;
|
|
installFlags = [ "install" "DESTDIR=$(out)" "bindir=/bin" ];
|
|
|
|
meta = {
|
|
description = "Linux tools to inspect the gpiochip interface";
|
|
maintainers = with maintainers; [ kwohlfahrt ];
|
|
platforms = platforms.linux;
|
|
license = licenses.gpl2;
|
|
};
|
|
}
|