Merge pull request #335083 from thillux/esdm-1.2.0

esdm: 1.1.1 -> 1.2.0
This commit is contained in:
WilliButz 2024-08-16 14:22:50 +02:00 committed by GitHub
commit b3311f86d2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -59,24 +59,26 @@ assert cryptoBackend == "openssl" || cryptoBackend == "botan" || cryptoBackend =
stdenv.mkDerivation rec {
pname = "esdm";
version = "1.1.1";
version = "1.2.0";
src = fetchFromGitHub {
owner = "smuellerDD";
repo = "esdm";
rev = "v${version}";
hash = "sha256-Z8cIjNI+Qi6O2e72vbEefbCCXyIA+lcEMDzWJReGrUs=";
hash = "sha256-5XctrI02pfCgK1P76AaSkMjiQqav6LX3SMjKr4F44sw=";
};
nativeBuildInputs = [ meson pkg-config ninja ];
buildInputs = [ protobufc ]
++ lib.optional (cryptoBackend == "botan" || botanRng) botan3
buildInputs = lib.optional (cryptoBackend == "botan" || botanRng) botan3
++ lib.optional (cryptoBackend == "openssl" || openSSLRandProvider) openssl
++ lib.optional selinux libselinux
++ lib.optional esJitterRng jitterentropy
++ lib.optional linuxDevFiles fuse3
++ lib.optional esJitterRngKernel libkcapi;
propagatedBuildInputs = [ protobufc ];
mesonFlags = [
(lib.mesonBool "b_lto" false)
(lib.mesonBool "fips140" false)