Add Git-Town Package (#54732)
* git-town: init at 7.2.0 add git-town package derivation
This commit is contained in:
parent
6dd1355120
commit
b4178f233c
@ -241,6 +241,11 @@
|
||||
email = "nix-commits@lists.science.uu.nl";
|
||||
name = "Nix Committers";
|
||||
};
|
||||
allonsy = {
|
||||
email = "linuxbash8@gmail.com";
|
||||
github = "allonsy";
|
||||
name = "Alec Snyder";
|
||||
};
|
||||
alunduil = {
|
||||
email = "alunduil@gmail.com";
|
||||
github = "alunduil";
|
||||
|
25
pkgs/tools/misc/git-town/default.nix
Normal file
25
pkgs/tools/misc/git-town/default.nix
Normal file
@ -0,0 +1,25 @@
|
||||
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
||||
|
||||
buildGoPackage rec {
|
||||
name = "git-town-${version}";
|
||||
version = "7.2.0";
|
||||
|
||||
goPackagePath = "github.com/Originate/git-town";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Originate";
|
||||
repo = "git-town";
|
||||
rev = "v${version}";
|
||||
sha256 = "0hr0c6iya34lanfhsg9kj03l4ajalcfxkbn4bgwh0749smhi6mrj";
|
||||
};
|
||||
|
||||
buildFlagsArray = [ "-ldflags=-X github.com/Originate/git-town/src/cmd.version=v${version} -X github.com/Originate/git-town/src/cmd.buildDate=nix" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Generic, high-level git support for git-flow workflows";
|
||||
homepage = http://www.git-town.com/;
|
||||
maintainers = [ maintainers.allonsy ];
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
||||
|
@ -690,6 +690,8 @@ in
|
||||
|
||||
git-fire = callPackage ../tools/misc/git-fire { };
|
||||
|
||||
git-town = callPackage ../tools/misc/git-town { };
|
||||
|
||||
github-changelog-generator = callPackage ../development/tools/github-changelog-generator { };
|
||||
|
||||
gitless = callPackage ../applications/version-management/gitless { };
|
||||
|
Loading…
Reference in New Issue
Block a user