[Backport release-26.05] ttl: 0.19.1 -> 0.21.0 (#542250)

This commit is contained in:
Peder Bergebakken Sundt
2026-07-16 21:30:45 +00:00
committed by GitHub

View File

@@ -9,23 +9,27 @@
rustPlatform.buildRustPackage (finalAttrs: {
pname = "ttl";
version = "0.19.1";
version = "0.21.0";
src = fetchFromGitHub {
owner = "lance0";
repo = "ttl";
tag = "v${finalAttrs.version}";
hash = "sha256-xY0z5GH6aLL38wOH6B2V9pAv9HnrJfpmQDjDKGSL4qo=";
hash = "sha256-bna3zD1RI2eSYX+IyDxi8IB/gys8PDDRThDdcUfcHR0=";
};
cargoHash = "sha256-zYO3sY/MdDPfypDeseabTtwMeeUZQ8OiVfch+5fRetI=";
cargoHash = "sha256-VLNDcP7LjClYEqew0xDQdevMM0LKJJnUXxh6tBtx6lw=";
nativeBuildInputs = [
installShellFiles
versionCheckHook
];
doInstallCheck = true;
# opt ouf of default features to deselect the update-check feature
buildNoDefaultFeatures = true;
postInstall = ''
installShellCompletion --cmd ttl \
--bash <($out/bin/ttl --completions bash) \
@@ -47,7 +51,10 @@ rustPlatform.buildRustPackage (finalAttrs: {
mainProgram = "ttl";
homepage = "https://github.com/lance0/ttl";
changelog = "https://github.com/lance0/ttl/releases/tag/v${finalAttrs.version}";
maintainers = with lib.maintainers; [ vincentbernat ];
maintainers = with lib.maintainers; [
vincentbernat
herbetom
];
license = with lib.licenses; [
asl20
mit