1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-04 19:45:54 +00:00
nixpkgs/pkgs/development/libraries/libu2f-host/default.nix

21 lines
638 B
Nix
Raw Normal View History

2014-10-25 00:35:33 +01:00
{ stdenv, fetchurl, pkgconfig, json_c, hidapi }:
stdenv.mkDerivation rec {
2015-01-02 18:35:21 +00:00
name = "libu2f-host-0.0.2";
2014-10-25 00:35:33 +01:00
src = fetchurl {
url = "https://developers.yubico.com/libu2f-host/Releases/${name}.tar.xz";
2015-01-02 18:35:21 +00:00
sha256 = "1n6bgb8z7dzyvaqh60gn7p4ih2rbymzflrgy79h3170kbn7lgrf9";
2014-10-25 00:35:33 +01:00
};
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 ];
};
}