This commit is contained in:
parent
4cd0f83ce8
commit
1bd05aaa4f
2 changed files with 14 additions and 12 deletions
|
@ -11,10 +11,7 @@ let
|
|||
inherit (pkgs.stdenv) mkDerivation;
|
||||
inherit lib;
|
||||
};
|
||||
probersRules = pkgs.callPackage ./probe-rs {
|
||||
inherit (pkgs.stdenv) mkDerivation;
|
||||
inherit lib;
|
||||
};
|
||||
probersRules = pkgs.callPackage ./probe-rs { inherit lib; };
|
||||
blink1Rules = pkgs.callPackage ./blink1-udev {
|
||||
inherit (pkgs.stdenv) mkDerivation;
|
||||
inherit lib;
|
||||
|
|
|
@ -1,20 +1,25 @@
|
|||
{ mkDerivation, lib }:
|
||||
mkDerivation {
|
||||
{
|
||||
stdenv,
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
stdenv.mkDerivation {
|
||||
pname = "probe-rs-udev-rules";
|
||||
version = "20220312131009";
|
||||
version = "20240203071125";
|
||||
|
||||
src = builtins.fetchurl {
|
||||
url = "https://probe.rs/files/69-probe-rs.rules";
|
||||
sha256 = "1dLTJ0S5Fxs0y3yme7blGqUG8RwQj/BkZV8PIrmX5gI=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "probe-rs";
|
||||
repo = "webpage";
|
||||
rev = "b0e0d281572b2415db5f51a2951207503e51173d";
|
||||
sha256 = "a/ugBQlSAZ6WE7ysFjPsdoPlH+3aZeechHA+NJsBOH4=";
|
||||
};
|
||||
|
||||
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
|
||||
cp $src/src/static/files/69-probe-rs.rules $out/lib/udev/rules.d/69-probe-rs.rules
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Reference in a new issue