git-releaser: init at 0.1.1
This commit is contained in:
parent
0f8b9a3b1b
commit
cd8c758a05
1 changed files with 32 additions and 0 deletions
32
pkgs/by-name/gi/git-releaser/package.nix
Normal file
32
pkgs/by-name/gi/git-releaser/package.nix
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
{ lib
|
||||||
|
, buildGoModule
|
||||||
|
, fetchFromGitHub
|
||||||
|
, nix-update-script
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildGoModule rec {
|
||||||
|
pname = "git-releaser";
|
||||||
|
version = "0.1.1";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "git-releaser";
|
||||||
|
repo = "git-releaser";
|
||||||
|
rev = "refs/tags/v${version}";
|
||||||
|
hash = "sha256-owIXiLLnCkda9O0C0wW0nEuwXC4hipNpR9fdFqgbWts=";
|
||||||
|
};
|
||||||
|
|
||||||
|
vendorHash = "sha256-dTyHKSCEImySu6Tagqvh6jDvgDbOTL0fMUOjFBpp64k=";
|
||||||
|
|
||||||
|
ldflags = [ "-X main.version=${version}" ];
|
||||||
|
|
||||||
|
passthru.updateScript = nix-update-script { };
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Tool for creating Git releases based on Semantic Versioning";
|
||||||
|
homepage = "https://github.com/git-releaser/git-releaser";
|
||||||
|
changelog = "https://github.com/git-releaser/git-releaser/releases/tag/v${version}";
|
||||||
|
maintainers = with maintainers; [ jakuzure ];
|
||||||
|
license = licenses.asl20;
|
||||||
|
mainProgram = "git-releaser";
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue