nitrokey-udev-rules: init at 1.0.0

Fixes: https://github.com/NixOS/nixpkgs/issues/351921
This commit is contained in:
Robin Krahl 2024-10-30 09:52:15 +01:00
parent 8ffcca7fd0
commit d43f004d1f
No known key found for this signature in database
GPG Key ID: B7556972702AFD45
2 changed files with 31 additions and 1 deletions

View File

@ -0,0 +1,31 @@
{
lib,
stdenv,
fetchFromGitHub,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "nitrokey-udev-rules";
version = "1.0.0";
src = fetchFromGitHub {
owner = "Nitrokey";
repo = "nitrokey-udev-rules";
rev = "v${finalAttrs.version}";
hash = "sha256-uq1+YQg+oe5UFphpy1AdxEYaPFyRle6ffYOPoU6Li28=";
};
installPhase = ''
install -D 41-nitrokey.rules -t $out/etc/udev/rules.d
'';
meta = with lib; {
description = "udev rules for Nitrokey devices";
homepage = "https://github.com/Nitrokey/nitrokey-udev-rules";
license = [ licenses.cc0 ];
maintainers = with maintainers; [
frogamic
robinkrahl
];
};
})

View File

@ -804,7 +804,6 @@ mapAliases {
neochat = libsForQt5.kdeGear.neochat; # added 2022-05-10
newlibCross = newlib; # Added 2024-09-06
newlib-nanoCross = newlib-nano; # Added 2024-09-06
nitrokey-udev-rules = libnitrokey; # Added 2023-03-25
nix-direnv-flakes = nix-direnv;
nix-ld-rs = nix-ld; # Added 2024-08-17
nix-repl = throw (