36 lines
757 B
Nix
36 lines
757 B
Nix
{
|
|
mkDerivation,
|
|
lib,
|
|
}:
|
|
mkDerivation {
|
|
pname = "probe-rs-udev-rules";
|
|
version = "20220312131009";
|
|
|
|
src = builtins.fetchurl {
|
|
url = "https://probe.rs/files/69-probe-rs.rules";
|
|
sha256 = "00p6jywj43szcmjg13qh3kqhd98swnv7p9kwrcs1n5xr8hkx7lnm";
|
|
};
|
|
|
|
dontUnpack = true;
|
|
dontBuild = true;
|
|
dontConfigure = true;
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/lib/udev/rules.d
|
|
cp $src $out/lib/udev/rules.d/69-probe-rs.rules
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "udev rules for probe.rs";
|
|
license = licenses.gpl2Only;
|
|
maintainers = [
|
|
{
|
|
email = "erwin@datarift.nl";
|
|
github = "eboskma";
|
|
name = "Erwin Boskma";
|
|
}
|
|
];
|
|
platforms = platforms.linux;
|
|
homepage = "https://probe.rs";
|
|
};
|
|
}
|