159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
33 lines
815 B
Nix
33 lines
815 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
nix-update-script,
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "gickup";
|
|
version = "0.10.36";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "cooperspencer";
|
|
repo = "gickup";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-Os26Il/FhH5cpgpaMZGfOljZ4p3XlCrRPEvzKD6kgpg=";
|
|
};
|
|
|
|
vendorHash = "sha256-x+K3qXV0F4OKsldsnNcR5w4fmwYyt7V7IDrcHBNPttI=";
|
|
|
|
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;
|
|
};
|
|
}
|