Merge pull request #86391 from kwohlfahrt/gpio-utils

This commit is contained in:
Jörg Thalheim 2020-05-06 06:57:14 +01:00 committed by GitHub
commit ee8cde8d1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,24 @@
{ lib, stdenv, linux }:
with lib;
assert versionAtLeast linux.version "4.6";
stdenv.mkDerivation {
name = "gpio-utils-${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 stdenv.lib.maintainers; [ kwohlfahrt ];
platforms = stdenv.lib.platforms.linux;
};
}

View File

@ -26482,4 +26482,5 @@ in
vpsfree-client = callPackage ../tools/virtualization/vpsfree-client {};
gpio-utils = callPackage ../os-specific/linux/kernel/gpio-utils.nix { };
}