yubico-piv-tool: remove with lib;, use --replace-fail

This commit is contained in:
Anthony Roussel
2024-05-07 15:24:50 +02:00
parent a456465e6b
commit 3801a6e450
+5 -5
View File
@@ -29,7 +29,7 @@ stdenv.mkDerivation (finalAttrs: {
};
postPatch = ''
substituteInPlace CMakeLists.txt --replace "-Werror" ""
substituteInPlace CMakeLists.txt --replace-fail "-Werror" ""
'';
nativeBuildInputs = [
@@ -69,7 +69,7 @@ stdenv.mkDerivation (finalAttrs: {
};
};
meta = with lib; {
meta = {
homepage = "https://developers.yubico.com/yubico-piv-tool/";
changelog = "https://developers.yubico.com/yubico-piv-tool/Release_Notes.html";
description = ''
@@ -83,9 +83,9 @@ stdenv.mkDerivation (finalAttrs: {
certificates, and create certificate requests, and other operations.
A shared library and a command-line tool is included.
'';
license = licenses.bsd2;
platforms = platforms.all;
maintainers = with maintainers; [ viraptor anthonyroussel ];
license = lib.licenses.bsd2;
platforms = lib.platforms.all;
maintainers = with lib.maintainers; [ viraptor anthonyroussel ];
mainProgram = "yubico-piv-tool";
pkgConfigModules = [ "ykcs11" "ykpiv" ];
};