libfido2: change dependency from libressl to openssl

libressl does not enable EdDSA functionality in libfido2
see https://github.com/Yubico/libfido2/issues/144
This commit is contained in:
Pavol Rusnak 2020-03-03 13:01:09 +01:00
parent 320334aee7
commit 82d7ccfded
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, cmake, pkgconfig, libcbor, libressl, udev, IOKit }: { stdenv, fetchurl, cmake, pkgconfig, libcbor, openssl, udev, IOKit }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "libfido2"; pname = "libfido2";
@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
}; };
nativeBuildInputs = [ cmake pkgconfig ]; nativeBuildInputs = [ cmake pkgconfig ];
buildInputs = [ libcbor libressl ] buildInputs = [ libcbor openssl ]
++ stdenv.lib.optionals stdenv.isLinux [ udev ] ++ stdenv.lib.optionals stdenv.isLinux [ udev ]
++ stdenv.lib.optionals stdenv.isDarwin [ IOKit ]; ++ stdenv.lib.optionals stdenv.isDarwin [ IOKit ];
@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
''; '';
homepage = https://github.com/Yubico/libfido2; homepage = https://github.com/Yubico/libfido2;
license = licenses.bsd2; license = licenses.bsd2;
maintainers = with maintainers; [ dtzWill ]; maintainers = with maintainers; [ dtzWill prusnak ];
platforms = platforms.unix; platforms = platforms.unix;
}; };
} }