2023-10-19 13:55:26 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
, nix-update-script
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "gickup";
|
2024-02-29 20:09:43 +00:00
|
|
|
version = "0.10.28";
|
2023-10-19 13:55:26 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "cooperspencer";
|
|
|
|
repo = "gickup";
|
|
|
|
rev = "refs/tags/v${version}";
|
2024-02-29 20:09:43 +00:00
|
|
|
hash = "sha256-IGzwMSpbGiUjlO7AtxL20m72VXYW3MJemLpO5BN2rMo=";
|
2023-10-19 13:55:26 +00:00
|
|
|
};
|
|
|
|
|
2024-02-29 20:09:43 +00:00
|
|
|
vendorHash = "sha256-sINmTwUERhxZ/qEAhKiJratWV6fDxrP21cJg97RBKVc=";
|
2023-10-19 13:55:26 +00:00
|
|
|
|
|
|
|
ldflags = ["-X main.version=${version}"];
|
|
|
|
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Tool to backup repositories";
|
|
|
|
homepage = "https://github.com/cooperspencer/gickup";
|
|
|
|
changelog = "https://github.com/cooperspencer/gickup/releases/tag/v${version}";
|
|
|
|
maintainers = with lib.maintainers; [ adamcstephens ];
|
|
|
|
mainProgram = "gickup";
|
|
|
|
license = lib.licenses.asl20;
|
|
|
|
};
|
|
|
|
}
|