3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/security/nitrokey-app/udev-rules.nix
Kai Harries d27be236f1 nitrokey-app: 1.3.2 -> 1.4.2
The optional argument group was removed because it is no longer used
in the udev-rules that come with the libnitrokey.
2021-01-18 07:36:44 +01:00

21 lines
423 B
Nix

{ 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;
};
}