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 (pkgs.stdenv) mkDerivation;
|
||||||
inherit lib;
|
inherit lib;
|
||||||
};
|
};
|
||||||
probersRules = pkgs.callPackage ./probe-rs {
|
probersRules = pkgs.callPackage ./probe-rs { inherit lib; };
|
||||||
inherit (pkgs.stdenv) mkDerivation;
|
|
||||||
inherit lib;
|
|
||||||
};
|
|
||||||
blink1Rules = pkgs.callPackage ./blink1-udev {
|
blink1Rules = pkgs.callPackage ./blink1-udev {
|
||||||
inherit (pkgs.stdenv) mkDerivation;
|
inherit (pkgs.stdenv) mkDerivation;
|
||||||
inherit lib;
|
inherit lib;
|
||||||
|
|
|
@ -1,20 +1,25 @@
|
||||||
{ mkDerivation, lib }:
|
{
|
||||||
mkDerivation {
|
stdenv,
|
||||||
|
lib,
|
||||||
|
fetchFromGitHub,
|
||||||
|
}:
|
||||||
|
stdenv.mkDerivation {
|
||||||
pname = "probe-rs-udev-rules";
|
pname = "probe-rs-udev-rules";
|
||||||
version = "20220312131009";
|
version = "20240203071125";
|
||||||
|
|
||||||
src = builtins.fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "https://probe.rs/files/69-probe-rs.rules";
|
owner = "probe-rs";
|
||||||
sha256 = "1dLTJ0S5Fxs0y3yme7blGqUG8RwQj/BkZV8PIrmX5gI=";
|
repo = "webpage";
|
||||||
|
rev = "b0e0d281572b2415db5f51a2951207503e51173d";
|
||||||
|
sha256 = "a/ugBQlSAZ6WE7ysFjPsdoPlH+3aZeechHA+NJsBOH4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
dontUnpack = true;
|
|
||||||
dontBuild = true;
|
dontBuild = true;
|
||||||
dontConfigure = true;
|
dontConfigure = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/lib/udev/rules.d
|
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; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in a new issue