sampo: 0.17.4 -> 0.18.0

This commit is contained in:
nartsisss
2026-06-17 00:56:25 +03:00
parent d10f47538c
commit 3b573ba653
+10 -7
View File
@@ -9,21 +9,22 @@
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "sampo";
version = "0.17.4";
version = "0.18.0";
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "bruits";
repo = "sampo";
tag = "sampo-v${finalAttrs.version}";
hash = "sha256-P+CekuDM3u+iG2HmCNWxZoTCaKtAUMnrNre4zeGNPrQ=";
tag = "cargo-sampo-v${finalAttrs.version}";
hash = "sha256-LPgY/UA2AF871bid8wqxzIhTDnsHsQ7IhY/eNYE6Npk=";
};
cargoHash = "sha256-U52xGXJlz7cM1fJWZMp51iNgYQRA8AKJ0OkbxlAB5C8=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ];
cargoHash = "sha256-udMpH0LWNqPTORSb1/c686stgvti5shx/O9rcH7YZNs=";
cargoBuildFlags = [
"-p"
"sampo"
@@ -35,12 +36,14 @@ rustPlatform.buildRustPackage (finalAttrs: {
nativeInstallCheckInputs = [ versionCheckHook ];
doInstallCheck = true;
passthru.updateScript = nix-update-script { extraArgs = [ "--version-regex=sampo-v([0-9\\.]*)" ]; };
passthru.updateScript = nix-update-script {
extraArgs = [ "--version-regex=cargo-sampo-v([0-9\\.]*)" ];
};
meta = {
description = "Automate changelogs, versioning, and publishingeven for monorepos across multiple package registries";
homepage = "https://github.com/bruits/sampo";
changelog = "https://github.com/bruits/sampo/blob/sampo-v${finalAttrs.version}/crates/sampo/CHANGELOG.md";
changelog = "https://github.com/bruits/sampo/blob/${finalAttrs.src.tag}/crates/sampo/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ nartsiss ];
mainProgram = "sampo";