2018-05-07 19:46:39 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, json_c, openssl, check, file, help2man, which, gengetopt }:
|
2015-05-03 16:29:42 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-05-07 19:46:39 +02:00
|
|
|
name = "libu2f-server-1.1.0";
|
2015-05-03 16:29:42 +02:00
|
|
|
src = fetchurl {
|
2015-09-23 08:25:45 +02:00
|
|
|
url = "https://developers.yubico.com/libu2f-server/Releases/${name}.tar.xz";
|
2018-05-07 19:46:39 +02:00
|
|
|
sha256 = "0xx296nmmqa57w0v5p2kasl5zr1ms2gh6qi4lhv6xvzbmjp3rkcd";
|
2015-05-03 16:29:42 +02:00
|
|
|
};
|
|
|
|
|
2015-09-23 08:25:45 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2018-05-07 19:46:39 +02:00
|
|
|
buildInputs = [ json_c openssl check file help2man which gengetopt ];
|
2015-05-03 16:29:42 +02:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://developers.yubico.com/libu2f-server/";
|
2015-05-03 16:29:42 +02:00
|
|
|
description = "A C library that implements the server-side of the U2F protocol";
|
|
|
|
license = licenses.bsd2;
|
2016-06-18 10:39:44 +02:00
|
|
|
platforms = platforms.linux;
|
2015-05-03 16:29:42 +02:00
|
|
|
maintainers = with maintainers; [ philandstuff ];
|
|
|
|
};
|
|
|
|
}
|