Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

probe-rs-udev-rules: init at 0-unstable-2024-02-25 & picoprobe-udev-rules: remove/rename #373008

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19161,6 +19161,12 @@
githubId = 337811;
name = "Rehno Lindeque";
};
reivilibre = {
email = "[email protected]";
github = "reivilibre";
githubId = 38398653;
name = "Olivier 'reivilibre'";
};
relrod = {
email = "[email protected]";
github = "relrod";
Expand Down
36 changes: 0 additions & 36 deletions pkgs/by-name/pi/picoprobe-udev-rules/package.nix

This file was deleted.

39 changes: 39 additions & 0 deletions pkgs/by-name/pr/probe-rs-udev-rules/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
lib,
stdenv,
fetchurl,
}:

## Usage
# In NixOS, simply add this package to services.udev.packages:
# services.udev.packages = [ pkgs.probe-rs-udev-rules ];

stdenv.mkDerivation rec {
pname = "probe-rs-udev-rules";

# There is no versioning scheme upstream, so we set this to the date of the commit that most
# recently changed the udev rules.
version = "0-unstable-2024-02-25";

src = fetchurl {
url = "https://github.com/probe-rs/webpage/raw/c8dbcf00cef641117578aa3eccd26541b0e259f6/src/static/files/69-probe-rs.rules";
sha256 = "sha256-SdwESnOuvOKMsTvxyA5c4UwtcS3kU33SlNttepMm7HY=";
};

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 = "probe-rs udev rules list, granting users in the plugdev group access to use compatible USB debug probes";
platforms = platforms.linux;
license = licenses.gpl2Only; # As noted in licence header for the file itself
maintainers = with maintainers; [ reivilibre ];
};
}
1 change: 1 addition & 0 deletions pkgs/top-level/aliases.nix
Original file line number Diff line number Diff line change
Expand Up @@ -1049,6 +1049,7 @@ mapAliases {
pgadmin = pgadmin4;
pharo-spur64 = pharo; # Added 2022-08-03
picom-next = picom; # Added 2024-02-13
picoprobe-udev-rules = lib.warn "'picoprobe-udev-rules' has been renamed to 'probe-rs-udev-rules' to reflect that it includes all probe-rs-supported devices." probe-rs-udev-rules; # Added 2025-01-11
pict-rs_0_3 = throw "pict-rs_0_3 has been removed, as it was an outdated version and no longer compiled"; # Added 2024-08-20

pipewire_0_2 = throw "pipewire_0_2 has been removed as it is outdated and no longer used"; # Added 2024-07-28
Expand Down