at 23.11-beta 24 lines 480 B view raw
1{ lib, stdenv, linux }: 2 3with lib; 4 5stdenv.mkDerivation { 6 pname = "gpio-utils"; 7 version = linux.version; 8 9 inherit (linux) src makeFlags; 10 11 preConfigure = '' 12 cd tools/gpio 13 ''; 14 15 separateDebugInfo = true; 16 installFlags = [ "install" "DESTDIR=$(out)" "bindir=/bin" ]; 17 18 meta = { 19 description = "Linux tools to inspect the gpiochip interface"; 20 maintainers = with maintainers; [ kwohlfahrt ]; 21 platforms = platforms.linux; 22 license = licenses.gpl2; 23 }; 24}