libfido2: init at 1.0.0

This commit is contained in:
Will Dietz 2019-03-29 10:13:20 -05:00
parent bbc0128e7d
commit 7cbd6d3cb8
No known key found for this signature in database
GPG Key ID: EBB0EA4124809D02
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,25 @@
{ stdenv, fetchurl, cmake, pkgconfig, libcbor, libressl, libudev }:
stdenv.mkDerivation rec {
pname = "libfido2";
version = "1.0.0";
src = fetchurl {
url = "https://developers.yubico.com/libfido2/Releases/libfido2-${version}.tar.gz";
sha256 = "1l0f67fpza0lhq08brpgi4xyfw60w1q790a83x8vqm889l4mph8w";
};
nativeBuildInputs = [ cmake pkgconfig ];
buildInputs = [ libcbor libressl libudev ];
cmakeFlags = [ "-DUDEV_RULES_DIR=${placeholder "out"}/etc/udev/rules.d" ];
meta = with stdenv.lib; {
description = ''
Provides library functionality for FIDO 2.0, including communication with a device over USB.
'';
homepage = https://github.com/Yubico/libfido2;
license = licenses.bsd2;
maintainers = with maintainers; [ dtzWill ];
};
}

View File

@ -11243,6 +11243,8 @@ in
libfakekey = callPackage ../development/libraries/libfakekey { };
libfido2 = callPackage ../development/libraries/libfido2 { };
libfilezilla = callPackage ../development/libraries/libfilezilla { };
libfm = callPackage ../development/libraries/libfm { };