1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/libraries/libu2f-server/default.nix

21 lines
732 B
Nix
Raw Normal View History

2018-05-07 18:46:39 +01:00
{ stdenv, fetchurl, pkgconfig, json_c, openssl, check, file, help2man, which, gengetopt }:
stdenv.mkDerivation rec {
2018-05-07 18:46:39 +01:00
name = "libu2f-server-1.1.0";
src = fetchurl {
2015-09-23 07:25:45 +01:00
url = "https://developers.yubico.com/libu2f-server/Releases/${name}.tar.xz";
2018-05-07 18:46:39 +01:00
sha256 = "0xx296nmmqa57w0v5p2kasl5zr1ms2gh6qi4lhv6xvzbmjp3rkcd";
};
2015-09-23 07:25:45 +01:00
nativeBuildInputs = [ pkgconfig ];
2018-05-07 18:46:39 +01:00
buildInputs = [ json_c openssl check file help2man which gengetopt ];
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;
platforms = platforms.linux;
maintainers = with maintainers; [ philandstuff ];
};
}