mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 04:46:43 +00:00
ae8e8aaee7
We no longer support any Linux kernel older than 4.9.
25 lines
480 B
Nix
25 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;
|
|
};
|
|
}
|