nitrokey-udev-rules: replace with libnitrokey
This commit is contained in:
parent
71d37d8535
commit
771d39638b
|
@ -22,6 +22,6 @@ in
|
|||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
services.udev.packages = [ pkgs.nitrokey-udev-rules ];
|
||||
services.udev.packages = [ pkgs.libnitrokey ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,20 +0,0 @@
|
|||
{ lib, stdenv, nitrokey-app }:
|
||||
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "nitrokey-udev-rules-${lib.getVersion nitrokey-app}";
|
||||
|
||||
inherit (nitrokey-app) src;
|
||||
|
||||
dontBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/etc/udev/rules.d
|
||||
cp libnitrokey/data/41-nitrokey.rules $out/etc/udev/rules.d
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "udev rules for Nitrokeys";
|
||||
inherit (nitrokey-app.meta) homepage license maintainers;
|
||||
};
|
||||
}
|
|
@ -1071,6 +1071,7 @@ mapAliases ({
|
|||
nfsUtils = throw "'nfsUtils' has been renamed to/replaced by 'nfs-utils'"; # Converted to throw 2022-02-22
|
||||
nginxUnstable = throw "'nginxUnstable' has been renamed to/replaced by 'nginxMainline'"; # Converted to throw 2022-02-22
|
||||
nilfs_utils = throw "'nilfs_utils' has been renamed to/replaced by 'nilfs-utils'"; # Converted to throw 2022-02-22
|
||||
nitrokey-udev-rules = libnitrokey; # Added 2023-03-25
|
||||
nix-direnv-flakes = nix-direnv;
|
||||
nix-review = nixpkgs-review; # Added 2019-12-22
|
||||
nixFlakes = nixVersions.stable; # Added 2021-05-21
|
||||
|
|
|
@ -39268,7 +39268,6 @@ with pkgs;
|
|||
pynitrokey = callPackage ../tools/security/pynitrokey { };
|
||||
|
||||
nitrokey-app = libsForQt5.callPackage ../tools/security/nitrokey-app { };
|
||||
nitrokey-udev-rules = callPackage ../tools/security/nitrokey-app/udev-rules.nix { };
|
||||
|
||||
fpm2 = callPackage ../tools/security/fpm2 { };
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user