31 lines
675 B
Nix
31 lines
675 B
Nix
{
|
|
lib,
|
|
fetchFromCodeberg,
|
|
rustPlatform,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage (finalAttrs: {
|
|
pname = "git-gone";
|
|
version = "1.3.1";
|
|
|
|
src = fetchFromCodeberg {
|
|
owner = "swsnr";
|
|
repo = "git-gone";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-/8ujbZ7FQTZzTG4HnHg6v3rWhxt2PuSGwIJpBVTxhfM=";
|
|
};
|
|
|
|
cargoHash = "sha256-93nZhZOtti28FetuOYtvh6LOtQJV+cEHbOkrJ+3m1m4=";
|
|
|
|
meta = {
|
|
description = "Cleanup stale Git branches of merge requests";
|
|
homepage = "https://codeberg.org/swsnr/git-gone";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [
|
|
cafkafk
|
|
matthiasbeyer
|
|
];
|
|
mainProgram = "git-gone";
|
|
};
|
|
})
|