mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-17 12:50:04 +00:00
34 lines
848 B
Nix
34 lines
848 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
nix-update-script,
|
|
}:
|
|
|
|
buildGoModule (finalAttrs: {
|
|
pname = "gickup";
|
|
version = "0.10.45";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "cooperspencer";
|
|
repo = "gickup";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-oVvL5BZYZZCfkGK9ABcppbddKuzykZv1OtBvKElaStI=";
|
|
};
|
|
|
|
vendorHash = "sha256-2SwjvITyo6z34MZ7gSbSQ1PeW0aO4MRi2DzYgqGcOvk=";
|
|
|
|
ldflags = [ "-X main.version=${finalAttrs.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${finalAttrs.version}";
|
|
maintainers = with lib.maintainers; [ adamcstephens ];
|
|
mainProgram = "gickup";
|
|
license = lib.licenses.asl20;
|
|
};
|
|
})
|