1 { lib, stdenv, fetchFromGitHub, autoreconfHook, zlib, pciutils }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "19wbb79x9h79k55sgd4dylvdbhhrvfaiaknbw9s1wvfmirkxa1dz";
14 nativeBuildInputs = [ autoreconfHook ];
15 buildInputs = [ zlib pciutils ];
17 # Don't install /lib/udev/rules.d/*-biosdevname.rules
18 patches = [ ./makefile.patch ];
20 configureFlags = [ "--sbindir=\${out}/bin" ];
23 description = "Udev helper for naming devices per BIOS names";
24 license = licenses.gpl2;
25 platforms = ["x86_64-linux" "i686-linux"];
26 maintainers = with maintainers; [ cstrahan ];