2015-09-23 09:25:45 +03:00
|
|
|
{ stdenv, fetchurl, pkgconfig, json_c, openssl, check }:
|
2015-05-03 17:29:42 +03:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-09-23 09:25:45 +03:00
|
|
|
name = "libu2f-server-1.0.1";
|
2015-05-03 17:29:42 +03:00
|
|
|
|
|
|
|
src = fetchurl {
|
2015-09-23 09:25:45 +03:00
|
|
|
url = "https://developers.yubico.com/libu2f-server/Releases/${name}.tar.xz";
|
|
|
|
sha256 = "0vhzixz1s629qv9dpdj6b7fxfyxnr5j2vx2cq9q6v790a68ga656";
|
2015-05-03 17:29:42 +03:00
|
|
|
};
|
|
|
|
|
2015-09-23 09:25:45 +03:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ json_c openssl check ];
|
2015-05-03 17:29:42 +03:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://developers.yubico.com/libu2f-server/;
|
|
|
|
description = "A C library that implements the server-side of the U2F protocol";
|
|
|
|
license = licenses.bsd2;
|
2016-06-18 11:39:44 +03:00
|
|
|
platforms = platforms.linux;
|
2015-05-03 17:29:42 +03:00
|
|
|
maintainers = with maintainers; [ philandstuff ];
|
|
|
|
};
|
|
|
|
}
|