Created
March 22, 2017 04:25
-
-
Save chris-martin/efae0ecb6de277603e180c9a56575395 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let u2f-rules = let | |
rev = "e2ce7b157b76bb384f8aba7acbfa73af2dd2fee7"; | |
url = "https://raw.githubusercontent.com/Yubico/libu2f-host/${rev}/70-u2f.rules"; | |
sha256 = "0cydmprvfb442f0hcapd3ac8rb66q0basa89scyzxq1ls61c2cdf"; | |
in pkgs.stdenv.mkDerivation { | |
src = pkgs.fetchurl { inherit url sha256; }; | |
name = "u2f-rules"; | |
unpackPhase = "true"; | |
installPhase = '' | |
mkdir -p $out/lib/udev/rules.d | |
cp $src $out/lib/udev/rules.d/70-u2f.rules | |
''; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment