Merge pull request #264269 from rnhmjoj/pr-cie

cie-middleware-linux: 1.4.4.0 -> 1.5.0

authored by Michele Guerini Rocco and committed by GitHub ac1dd9de 7b0a2b8d

+10 -5
+10 -5
pkgs/tools/security/cie-middleware-linux/default.nix
··· 20 21 let 22 pname = "cie-middleware-linux"; 23 - version = "1.4.4.0"; 24 25 src = fetchFromGitHub { 26 owner = "M0rf30"; 27 repo = pname; 28 - rev = "${version}-podofo"; 29 - sha256 = "sha256-Kyr9OTiY6roJ/wVJS/1aWfrrzDNQbuRTJQqo0akbMUU="; 30 }; 31 32 gradle = gradle_7; ··· 44 buildPhase = '' 45 # Run the fetchDeps task 46 export GRADLE_USER_HOME=$(mktemp -d) 47 gradle --no-daemon -b cie-java/build.gradle fetchDeps 48 ''; 49 ··· 60 61 outputHashAlgo = "sha256"; 62 outputHashMode = "recursive"; 63 - outputHash = "sha256-WzT5vYF9yCMU2A7EkLZyjgWrN3gD7pnkPXc3hDFqpD8="; 64 }; 65 66 in ··· 84 buildInputs = [ 85 cryptopp 86 fontconfig 87 - podofo 88 openssl 89 pcsclite 90 curl ··· 95 # substitute the cieid command with this $out/bin/cieid 96 substituteInPlace libs/pkcs11/src/CSP/AbilitaCIE.cpp \ 97 --replace 'file = "cieid"' 'file = "'$out'/bin/cieid"' 98 ''; 99 100 # Note: we use pushd/popd to juggle between the
··· 20 21 let 22 pname = "cie-middleware-linux"; 23 + version = "1.5.0"; 24 25 src = fetchFromGitHub { 26 owner = "M0rf30"; 27 repo = pname; 28 + rev = version; 29 + sha256 = "sha256-Z8K2Ibg5bBfSql5HEapKgdfiCf/EIKTTD15oVeysQGk="; 30 }; 31 32 gradle = gradle_7; ··· 44 buildPhase = '' 45 # Run the fetchDeps task 46 export GRADLE_USER_HOME=$(mktemp -d) 47 + ls -l 48 gradle --no-daemon -b cie-java/build.gradle fetchDeps 49 ''; 50 ··· 61 62 outputHashAlgo = "sha256"; 63 outputHashMode = "recursive"; 64 + outputHash = "sha256-jtaH8dBpnx8KMJe+jzJfkvcx1NO4nL5jsRO4+GI+d0c="; 65 }; 66 67 in ··· 85 buildInputs = [ 86 cryptopp 87 fontconfig 88 + podofo.dev 89 openssl 90 pcsclite 91 curl ··· 96 # substitute the cieid command with this $out/bin/cieid 97 substituteInPlace libs/pkcs11/src/CSP/AbilitaCIE.cpp \ 98 --replace 'file = "cieid"' 'file = "'$out'/bin/cieid"' 99 + 100 + # revert https://github.com/M0Rf30/cie-middleware-linux/commit/1a389d8 101 + sed -i libs/meson.build \ 102 + -e "s@podofo_dep = .\+@podofo_dep = dependency('libpodofo')@g" 103 ''; 104 105 # Note: we use pushd/popd to juggle between the