forked from mirrors/nixpkgs
libu2f-host: Install udev-rules.
This allows users to automatically set up necessary udev-rules by adding `pkgs.libu2f-host` to `services.udev.packages`.
This commit is contained in:
parent
268ae334d9
commit
dc0d32cab7
|
@ -11,6 +11,11 @@ stdenv.mkDerivation rec {
|
|||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ json_c hidapi ];
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/lib/udev/rules.d/
|
||||
cp -v *.rules $out/lib/udev/rules.d/
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://developers.yubico.com/libu2f-host;
|
||||
description = "A C library and command-line tool thati mplements the host-side of the U2F protocol";
|
||||
|
|
Loading…
Reference in a new issue