Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
504 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
stdenv,
linux,
}:
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 = with lib; {
description = "Linux tools to inspect the gpiochip interface";
maintainers = with maintainers; [ kwohlfahrt ];
platforms = platforms.linux;
license = licenses.gpl2Only;
};
}