nixos-config/modules/base/probe-rs/default.nix

34 lines
744 B
Nix
Raw Normal View History

2024-02-05 11:46:52 +01: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-29 10:28:48 +01:00
sha256 = "1dLTJ0S5Fxs0y3yme7blGqUG8RwQj/BkZV8PIrmX5gI=";
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";
};
}