1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 11:40:45 +00:00
nixpkgs/pkgs/by-name/gi/gickup/package.nix

34 lines
815 B
Nix

{
lib,
buildGoModule,
fetchFromGitHub,
nix-update-script,
}:
buildGoModule rec {
pname = "gickup";
version = "0.10.29";
src = fetchFromGitHub {
owner = "cooperspencer";
repo = "gickup";
rev = "refs/tags/v${version}";
hash = "sha256-Y03SdmO/GJx1gans58IW/Q9N7spRswvjyNbzYLdkD80=";
};
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;
};
}