2014-10-25 00:35:33 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, json_c, hidapi }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-02-06 20:51:39 +00:00
|
|
|
name = "libu2f-host-0.0.4";
|
2014-10-25 00:35:33 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://developers.yubico.com/libu2f-host/Releases/${name}.tar.xz";
|
2015-02-06 20:51:39 +00:00
|
|
|
sha256 = "1mpa4m3vchqa0rm1zw0fgby3yhp35k4y6jlqdd02difm3dhk28l5";
|
2014-10-25 00:35:33 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ pkgconfig json_c hidapi ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://developers.yubico.com/libu2f-host;
|
2015-05-03 15:29:42 +01:00
|
|
|
description = "A C library and command-line tool thati mplements the host-side of the U2F protocol";
|
2014-10-25 00:35:33 +01:00
|
|
|
license = licenses.bsd2;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ wkennington ];
|
|
|
|
};
|
|
|
|
}
|