5c370c0b2a
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
33 lines
815 B
Nix
33 lines
815 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
nix-update-script,
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "gickup";
|
|
version = "0.10.30";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "cooperspencer";
|
|
repo = "gickup";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-knnc4FAzGk1hV/Pzoc+klm4dt1cFrn4BYZx1lY7iLp8=";
|
|
};
|
|
|
|
vendorHash = "sha256-XxDsEmi945CduurQRsH7rjFAEu/SMX3rSd63Dwq2r8A=";
|
|
|
|
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;
|
|
};
|
|
}
|