mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 11:40:45 +00:00
gickup: init at 0.10.21
This commit is contained in:
parent
a1bd79b94c
commit
1a9560260e
32
pkgs/by-name/gi/gickup/package.nix
Normal file
32
pkgs/by-name/gi/gickup/package.nix
Normal file
|
@ -0,0 +1,32 @@
|
|||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
, nix-update-script
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "gickup";
|
||||
version = "0.10.21";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cooperspencer";
|
||||
repo = "gickup";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-o8uLdkk0aZWIj+mKsp/XGKcwpV0rGFcZnmV4MuHKlUg=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-NAYkQsCt32mtHFXZC0g3OrlrOceUaeGH4bKWF7B08po=";
|
||||
|
||||
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;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue