libfido2: 1.4.0 -> 1.5.0
This commit is contained in:
parent
f3bf0f173e
commit
43eae86de2
|
@ -11,10 +11,10 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "libfido2";
|
pname = "libfido2";
|
||||||
version = "1.4.0";
|
version = "1.5.0";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://developers.yubico.com/${pname}/Releases/${pname}-${version}.tar.gz";
|
url = "https://developers.yubico.com/${pname}/Releases/${pname}-${version}.tar.gz";
|
||||||
sha256 = "0v1a3n0qljmrp8y9pmnmbsdsy79l3z84qmhyjx50xdsbgnz1z4md";
|
sha256 = "08iizxq3w8mpkwfrfpl59csffc20yz8x398bl3kf23rrr4izk42r";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake pkgconfig ];
|
nativeBuildInputs = [ cmake pkgconfig ];
|
||||||
|
@ -22,14 +22,6 @@ stdenv.mkDerivation rec {
|
||||||
buildInputs = [ hidapi libcbor openssl ]
|
buildInputs = [ hidapi libcbor openssl ]
|
||||||
++ stdenv.lib.optionals stdenv.isLinux [ udev ];
|
++ stdenv.lib.optionals stdenv.isLinux [ udev ];
|
||||||
|
|
||||||
patches = [
|
|
||||||
# make build reproducible
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://github.com/Yubico/libfido2/commit/e79f7d7996e70d6b2ae9826fce81d61659cab4f6.patch";
|
|
||||||
sha256 = "0jwg69f95qqf0ym24q1ka50d3d3338cyw4fdfzpw4sab0shiaq9v";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DUDEV_RULES_DIR=${placeholder "out"}/etc/udev/rules.d"
|
"-DUDEV_RULES_DIR=${placeholder "out"}/etc/udev/rules.d"
|
||||||
"-DUSE_HIDAPI=1"
|
"-DUSE_HIDAPI=1"
|
||||||
|
|
Loading…
Reference in New Issue