1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-04 03:25:02 +00:00
nixpkgs/pkgs/tools/security/nitrokey-app/udev-rules.nix

21 lines
423 B
Nix
Raw Normal View History

{ lib, stdenv, nitrokey-app }:
2017-05-24 22:58:33 +01:00
stdenv.mkDerivation {
2021-01-15 09:19:50 +00:00
name = "nitrokey-udev-rules-${lib.getVersion nitrokey-app}";
2017-05-24 22:58:33 +01:00
inherit (nitrokey-app) src;
dontBuild = true;
installPhase = ''
mkdir -p $out/etc/udev/rules.d
2018-07-15 20:14:19 +01:00
cp libnitrokey/data/41-nitrokey.rules $out/etc/udev/rules.d
2017-05-24 22:58:33 +01:00
'';
meta = {
description = "udev rules for Nitrokeys";
inherit (nitrokey-app.meta) homepage license maintainers;
};
}