nixpkgs-suyu/pkgs/tools/security/nitrokey-app/udev-rules.nix

21 lines
423 B
Nix
Raw Normal View History

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