aube: 1.9.1 -> 1.26.0 (#539678)

This commit is contained in:
Oleksii Filonenko
2026-07-12 18:51:39 +00:00
committed by GitHub
+17 -6
View File
@@ -2,6 +2,7 @@
lib,
fetchFromGitHub,
rustPlatform,
cacert,
cmake,
gitMinimal,
versionCheckHook,
@@ -10,27 +11,34 @@
rustPlatform.buildRustPackage (finalAttrs: {
pname = "aube";
version = "1.9.1";
version = "1.26.0";
src = fetchFromGitHub {
owner = "jdx";
repo = "aube";
tag = "v${finalAttrs.version}";
hash = "sha256-uwOEou6DH+bePNupYKmTc82xQV9T08bDmSPG9RU9yBk=";
hash = "sha256-bQDDLgO5dG9kMF9VDnHGwuMZjWrbNT5Ia90rJrERDaE=";
};
cargoHash = "sha256-CBI44O2iMwdMym+ZOO9MvJQ73n+12J6FjzIXAOQTGT0=";
cargoHash = "sha256-L9UiSO9UL8kBOebFXrZqbIJ/V4tobl1NYAdlktmX2lY=";
nativeBuildInputs = [ cmake ]; # libz-ng-sys
nativeCheckInputs = [ gitMinimal ];
postInstall = ''
rm -f $out/bin/generate-settings-docs
rm -f $out/bin/generate-{error-codes,settings}-docs
'';
checkFlags = [
# failed on x86_64-linux
"--skip=http::ticket_cache::tests::max_per_host_evicts_oldest"
];
__darwinAllowLocalNetworking = true;
env.SSL_CERT_FILE = "${cacert}/etc/ssl/certs/ca-bundle.crt";
nativeInstallCheckInputs = [ versionCheckHook ];
doInstallCheck = true;
@@ -41,9 +49,12 @@ rustPlatform.buildRustPackage (finalAttrs: {
meta = {
description = "Fast Node.js package manager";
homepage = "https://github.com/jdx/aube";
changelog = "https://github.com/jdx/aube/blob/v${finalAttrs.version}/CHANGELOG.md";
changelog = "https://github.com/jdx/aube/blob/${finalAttrs.src.tag}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ chillcicada ];
maintainers = with lib.maintainers; [
chillcicada
Br1ght0ne
];
mainProgram = "aube";
};
})