aws-lc: 1.56.0 -> 1.65.0, setup update script (#465694)

This commit is contained in:
Yohann Boniface
2025-11-27 22:37:23 +00:00
committed by GitHub
+18 -21
View File
@@ -6,17 +6,18 @@
ninja,
testers,
aws-lc,
nix-update-script,
useSharedLibraries ? !stdenv.hostPlatform.isStatic,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "aws-lc";
version = "1.56.0";
version = "1.65.0";
src = fetchFromGitHub {
owner = "aws";
repo = "aws-lc";
rev = "v${finalAttrs.version}";
hash = "sha256-h7GrR86h/Z9pfJowABJFwBf/TlQzsMMG2x0/dsepbmQ=";
hash = "sha256-rpxEhOy9qYwIDa78u1BOgANfnkfGgGacKOjjlqXtn88=";
};
outputs = [
@@ -53,28 +54,24 @@ stdenv.mkDerivation (finalAttrs: {
]
);
postFixup = ''
for f in $out/lib/crypto/cmake/*/crypto-targets.cmake; do
substituteInPlace "$f" \
--replace-fail 'INTERFACE_INCLUDE_DIRECTORIES "''${_IMPORT_PREFIX}/include"' 'INTERFACE_INCLUDE_DIRECTORIES ""'
done
'';
__darwinAllowLocalNetworking = true;
passthru.tests = {
version = testers.testVersion {
package = aws-lc;
command = "bssl version";
};
pkg-config = testers.hasPkgConfigModules {
package = aws-lc;
moduleNames = [
"libcrypto"
"libssl"
"openssl"
];
passthru = {
tests = {
version = testers.testVersion {
package = aws-lc;
command = "bssl version";
};
pkg-config = testers.hasPkgConfigModules {
package = aws-lc;
moduleNames = [
"libcrypto"
"libssl"
"openssl"
];
};
};
updateScript = nix-update-script { };
};
meta = {