mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
Merge pull request #213420 from MGlolenstine/picoprobe-udev-rules
picoprobe-udev-rules: init at 0.0.1
This commit is contained in:
commit
13ac55a095
32
pkgs/os-specific/linux/picoprobe-udev-rules/default.nix
Normal file
32
pkgs/os-specific/linux/picoprobe-udev-rules/default.nix
Normal file
@ -0,0 +1,32 @@
|
||||
{ lib, stdenv, fetchurl }:
|
||||
|
||||
## Usage
|
||||
# In NixOS, simply add this package to services.udev.packages:
|
||||
# services.udev.packages = [ pkgs.picoprobe-udev-rules ];
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "picoprobe-udev-rules";
|
||||
version = "unstable-2023-01-31";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://raw.githubusercontent.com/probe-rs/webpage/1cba61acc6ecb5ff96f74641269844ad88ad8ad5/static/files/69-probe-rs.rules";
|
||||
sha256 = "sha256-vQMPX3Amttja0u03KWGnPDAVTGM9ekJ+IBTjW+xlJS0=";
|
||||
};
|
||||
|
||||
dontUnpack = true;
|
||||
dontBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
install -D $src $out/lib/udev/rules.d/69-probe-rs.rules
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://probe.rs/docs/getting-started/probe-setup/#udev-rules";
|
||||
description = "Picoprobe udev rules list";
|
||||
platforms = platforms.linux;
|
||||
license = licenses.gpl2Only;
|
||||
maintainers = with maintainers; [ mglolenstine ];
|
||||
};
|
||||
}
|
@ -26315,6 +26315,8 @@ with pkgs;
|
||||
|
||||
perf-tools = callPackage ../os-specific/linux/perf-tools { };
|
||||
|
||||
picoprobe-udev-rules = callPackage ../os-specific/linux/picoprobe-udev-rules { };
|
||||
|
||||
pipes = callPackage ../misc/screensavers/pipes { };
|
||||
|
||||
pipes-rs = callPackage ../misc/screensavers/pipes-rs { };
|
||||
|
Loading…
Reference in New Issue
Block a user