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.

25 lines
480 B
Nix
Raw Normal View History

{ lib, stdenv, linux }:
with lib;
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" ];
meta = {
description = "Linux tools to inspect the gpiochip interface";
2020-06-30 19:02:50 +00:00
maintainers = with maintainers; [ kwohlfahrt ];
platforms = platforms.linux;
license = licenses.gpl2;
};
}