Add Git-Town Package (#54732)

* git-town: init at 7.2.0
add git-town package derivation
This commit is contained in:
Alec Snyder 2019-02-08 14:36:50 -08:00 committed by Matthew Bauer
parent 6dd1355120
commit b4178f233c
3 changed files with 32 additions and 0 deletions

View File

@ -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";

View 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;
};
}

View File

@ -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 { };