diff options
author | William A. Kennington III <william@wkennington.com> | 2014-10-24 16:35:33 -0700 |
---|---|---|
committer | William A. Kennington III <william@wkennington.com> | 2014-10-24 16:37:36 -0700 |
commit | 0f7527bea3397987f514da8ae17b329c46336428 (patch) | |
tree | 10c42490ea2eab2707890c10d89491231b06a0e5 /pkgs/development/libraries/libu2f-host | |
parent | 7b6e70c72dbe637ba0ff7a4ef92be7073e9dfa86 (diff) |
libu2f-host: Add derivation
Diffstat (limited to 'pkgs/development/libraries/libu2f-host')
-rw-r--r-- | pkgs/development/libraries/libu2f-host/default.nix | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libu2f-host/default.nix b/pkgs/development/libraries/libu2f-host/default.nix new file mode 100644 index 000000000000..e2c92d5f10d0 --- /dev/null +++ b/pkgs/development/libraries/libu2f-host/default.nix @@ -0,0 +1,20 @@ +{ stdenv, fetchurl, pkgconfig, json_c, hidapi }: + +stdenv.mkDerivation rec { + name = "libu2f-host-0.0"; + + src = fetchurl { + url = "https://developers.yubico.com/libu2f-host/Releases/${name}.tar.xz"; + sha256 = "02pjald2j6syvxm5pszxcpqhpp7c80hblnzh6wrafkmpkpzi3rq5"; + }; + + buildInputs = [ pkgconfig json_c hidapi ]; + + 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"; + license = licenses.bsd2; + platforms = platforms.unix; + maintainers = with maintainers; [ wkennington ]; + }; +} |