2023-10-19 13:55:26 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
, nix-update-script
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "gickup";
|
2023-11-16 04:20:00 +00:00
|
|
|
version = "0.10.22";
|
2023-10-19 13:55:26 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "cooperspencer";
|
|
|
|
repo = "gickup";
|
|
|
|
rev = "refs/tags/v${version}";
|
2023-11-16 04:20:00 +00:00
|
|
|
hash = "sha256-pF8sckOSmih5rkDv7kvSL9gU4XwBrEIycjzEce01i64=";
|
2023-10-19 13:55:26 +00:00
|
|
|
};
|
|
|
|
|
2023-11-16 04:20:00 +00:00
|
|
|
vendorHash = "sha256-kEy6Per8YibUHRp7E4jzkOgATq3Ub5WCNIe0WiHo2Ro=";
|
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;
|
|
|
|
};
|
|
|
|
}
|