diff --git a/pkgs/by-name/tt/ttl/package.nix b/pkgs/by-name/tt/ttl/package.nix index 951013b18b87..7dace95ae3cc 100644 --- a/pkgs/by-name/tt/ttl/package.nix +++ b/pkgs/by-name/tt/ttl/package.nix @@ -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