putter: init at 0.1.0

This commit is contained in:
Robert Helgesson
2026-05-15 17:57:49 +02:00
parent b24bf10ba3
commit d18316bfaf
+39
View File
@@ -0,0 +1,39 @@
{
lib,
fetchFromSourcehut,
rustPlatform,
nix-update-script,
}:
let
version = "0.1.0";
in
rustPlatform.buildRustPackage {
pname = "putter";
inherit version;
src = fetchFromSourcehut {
owner = "~rycee";
repo = "putter";
rev = "v${version}";
hash = "sha256-ZCI8nf7JlTMS+L0+uTBeCIsyx21FjRhP9iT+Kebqgu4=";
};
cargoHash = "sha256-36f4f+3vf0ZknmSwe3oNOxPgexTjizXQ73Ac3JeG6ZU=";
passthru = {
updateScript = nix-update-script { };
};
__structuredAttrs = true;
meta = {
description = "Symlink or copy files according to a JSON manifest";
mainProgram = "putter";
homepage = "https://git.sr.ht/~rycee/putter";
changelog = "https://git.sr.ht/~rycee/putter/refs/${version}";
license = lib.licenses.eupl12;
maintainers = with lib.maintainers; [ rycee ];
platforms = lib.platforms.unix;
};
}