depot/third_party/nixpkgs/pkgs/by-name/gi/gickup/package.nix
Default email c7cb07f092 Project import generated by Copybara.
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
2024-02-29 21:09:43 +01:00

32 lines
807 B
Nix

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