Merge pull request #264269 from rnhmjoj/pr-cie

cie-middleware-linux: 1.4.4.0 -> 1.5.0

Changed files
+10 -5
pkgs
tools
security
cie-middleware-linux
+10 -5
pkgs/tools/security/cie-middleware-linux/default.nix
···
let
pname = "cie-middleware-linux";
-
version = "1.4.4.0";
+
version = "1.5.0";
src = fetchFromGitHub {
owner = "M0rf30";
repo = pname;
-
rev = "${version}-podofo";
-
sha256 = "sha256-Kyr9OTiY6roJ/wVJS/1aWfrrzDNQbuRTJQqo0akbMUU=";
+
rev = version;
+
sha256 = "sha256-Z8K2Ibg5bBfSql5HEapKgdfiCf/EIKTTD15oVeysQGk=";
};
gradle = gradle_7;
···
buildPhase = ''
# Run the fetchDeps task
export GRADLE_USER_HOME=$(mktemp -d)
+
ls -l
gradle --no-daemon -b cie-java/build.gradle fetchDeps
'';
···
outputHashAlgo = "sha256";
outputHashMode = "recursive";
-
outputHash = "sha256-WzT5vYF9yCMU2A7EkLZyjgWrN3gD7pnkPXc3hDFqpD8=";
+
outputHash = "sha256-jtaH8dBpnx8KMJe+jzJfkvcx1NO4nL5jsRO4+GI+d0c=";
};
in
···
buildInputs = [
cryptopp
fontconfig
-
podofo
+
podofo.dev
openssl
pcsclite
curl
···
# substitute the cieid command with this $out/bin/cieid
substituteInPlace libs/pkcs11/src/CSP/AbilitaCIE.cpp \
--replace 'file = "cieid"' 'file = "'$out'/bin/cieid"'
+
+
# revert https://github.com/M0Rf30/cie-middleware-linux/commit/1a389d8
+
sed -i libs/meson.build \
+
-e "s@podofo_dep = .\+@podofo_dep = dependency('libpodofo')@g"
'';
# Note: we use pushd/popd to juggle between the