1{ stdenv, fetchurl, pkgconfig, json_c, openssl, check, file, help2man, which, gengetopt }:
2
3stdenv.mkDerivation rec {
4 name = "libu2f-server-1.1.0";
5 src = fetchurl {
6 url = "https://developers.yubico.com/libu2f-server/Releases/${name}.tar.xz";
7 sha256 = "0xx296nmmqa57w0v5p2kasl5zr1ms2gh6qi4lhv6xvzbmjp3rkcd";
8 };
9
10 nativeBuildInputs = [ pkgconfig ];
11 buildInputs = [ json_c openssl check file help2man which gengetopt ];
12
13 meta = with stdenv.lib; {
14 homepage = https://developers.yubico.com/libu2f-server/;
15 description = "A C library that implements the server-side of the U2F protocol";
16 license = licenses.bsd2;
17 platforms = platforms.linux;
18 maintainers = with maintainers; [ philandstuff ];
19 };
20}