lol
1{ stdenv, fetchurl, pkgconfig, json_c, hidapi, openssl, check }:
2
3stdenv.mkDerivation rec {
4 name = "libu2f-server-0.0.0";
5
6 src = fetchurl {
7 url = "https://developers.yubico.com/libu2f-server/Releases/libu2f-server-0.0.0.tar.xz";
8 sha256 = "1vdl3qavzfpi6p6h48zw17md9wykfzpay5c4l1c08id46m560wp0";
9 };
10
11 buildInputs = [ pkgconfig json_c hidapi openssl check ];
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.unix;
18 maintainers = with maintainers; [ philandstuff ];
19 };
20}