e7ec2969af
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
32 lines
807 B
Nix
32 lines
807 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
, nix-update-script
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "gickup";
|
|
version = "0.10.26";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "cooperspencer";
|
|
repo = "gickup";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-GYYmoGNYiwarMZw1w8tdH8zKl19XQ2R+EaJFK8iacwI=";
|
|
};
|
|
|
|
vendorHash = "sha256-vyDzGho9vcdCmBP7keccp5w3tXWHlSaFoncS1hqnBoc=";
|
|
|
|
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;
|
|
};
|
|
}
|