3
0
Fork 0
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:
Moritz Ulrich 2016-04-24 14:34:25 +02:00
parent 268ae334d9
commit dc0d32cab7

View file

@ -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";