yep, more dotfiles
1{ lib
2, stdenv
3, fetchurl
4}:
5
6stdenv.mkDerivation rec {
7 pname = "probe-rs-udev-rules";
8 version = "0.0.0";
9
10 src = fetchurl {
11 url = "https://probe.rs/files/69-probe-rs.rules";
12 hash = "sha256-yjxld5ebm2jpfyzkw+vngBfHu5Nfh2ioLUKQQDY4KYo=";
13 };
14
15 dontUnpack = true;
16
17 installPhase = ''
18 install -Dm 644 "${src}" "$out/lib/udev/rules.d/69-probe-rs.rules"
19 '';
20
21 meta = with lib; {
22 description = "UDev rules for Probe-rs supported probes calculators";
23 homepage = "https://probe.rs/";
24 maintainers = [ "mrnossiom" ];
25 platforms = platforms.linux;
26 };
27}