2022-04-27 00:21:19 +02:00
|
|
|
{ mkDerivation
|
|
|
|
, lib
|
|
|
|
,
|
2022-03-15 08:30:37 +01:00
|
|
|
}:
|
|
|
|
mkDerivation {
|
|
|
|
pname = "probe-rs-udev-rules";
|
|
|
|
version = "20220312131009";
|
|
|
|
|
|
|
|
src = builtins.fetchurl {
|
|
|
|
url = "https://probe.rs/files/69-probe-rs.rules";
|
2024-01-25 12:37:58 +01:00
|
|
|
sha256 = "LkWFZVCL8h5MAd5T89CApjsjuKS2aw8OZFWFx+OrGkk=";
|
2022-03-15 08:30:37 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
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";
|
|
|
|
};
|
|
|
|
}
|