Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 30 lines 504 B view raw
1{ 2 lib, 3 stdenv, 4 linux, 5}: 6 7stdenv.mkDerivation { 8 pname = "gpio-utils"; 9 version = linux.version; 10 11 inherit (linux) src makeFlags; 12 13 preConfigure = '' 14 cd tools/gpio 15 ''; 16 17 separateDebugInfo = true; 18 installFlags = [ 19 "install" 20 "DESTDIR=$(out)" 21 "bindir=/bin" 22 ]; 23 24 meta = with lib; { 25 description = "Linux tools to inspect the gpiochip interface"; 26 maintainers = with maintainers; [ kwohlfahrt ]; 27 platforms = platforms.linux; 28 license = licenses.gpl2Only; 29 }; 30}