nixpkgs/pkgs/os-specific/linux/kernel/gpio-utils.nix

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

23 lines
483 B
Nix
Raw Normal View History

{ lib, stdenv, linux }:
stdenv.mkDerivation {
2022-01-22 17:13:29 +00:00
pname = "gpio-utils";
version = linux.version;
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; {
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;
};
}