rust-stakeholder: init at 0-unstable-2025-03-15 (#390236)

This commit is contained in:
Gaétan Lepage 2025-03-22 22:54:58 +01:00 committed by GitHub
commit 7d41df43c8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -0,0 +1,35 @@
{
lib,
fetchFromGitHub,
rustPlatform,
versionCheckHook,
nix-update-script,
}:
rustPlatform.buildRustPackage {
pname = "rust-stakeholder";
version = "0-unstable-2025-03-15";
src = fetchFromGitHub {
owner = "giacomo-b";
repo = "rust-stakeholder";
rev = "aacdccbed72be34e0231e6d15cecb6d87a9a5ef6";
hash = "sha256-YnXqvZlItCoAUEYUpRVQLM4fuLaf9Wd+OFY9ItSg25U=";
};
useFetchCargoVendor = true;
cargoHash = "sha256-NxO+7Wh8Ff6RPFtmbEa3EJszfDaZDXGWZDAoXPEAnpI=";
nativeInstallCheck = [ versionCheckHook ];
versionCheckProgramArg = "--version";
doInstallCheck = true;
passthru.updateScript = nix-update-script { };
meta = {
description = "Generate impressive-looking terminal output to look busy when stakeholders walk by";
homepage = "https://github.com/giacomo-b/rust-stakeholder";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.awwpotato ];
mainProgram = "rust-stakeholder";
};
}