2020-04-29 22:10:03 +00:00
|
|
|
{ lib, stdenv, linux }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2022-01-22 17:13:29 +00:00
|
|
|
pname = "gpio-utils";
|
|
|
|
version = linux.version;
|
2020-04-29 22:10:03 +00:00
|
|
|
|
|
|
|
inherit (linux) src makeFlags;
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
cd tools/gpio
|
|
|
|
'';
|
|
|
|
|
|
|
|
separateDebugInfo = true;
|
|
|
|
installFlags = [ "install" "DESTDIR=$(out)" "bindir=/bin" ];
|
|
|
|
|
2024-08-13 20:24:22 +00:00
|
|
|
meta = with lib; {
|
2020-04-29 22:10:03 +00:00
|
|
|
description = "Linux tools to inspect the gpiochip interface";
|
2020-06-30 19:02:50 +00:00
|
|
|
maintainers = with maintainers; [ kwohlfahrt ];
|
|
|
|
platforms = platforms.linux;
|
2024-05-26 12:16:07 +00:00
|
|
|
license = licenses.gpl2Only;
|
2020-04-29 22:10:03 +00:00
|
|
|
};
|
|
|
|
}
|