2021-01-25 09:26:54 +01:00
|
|
|
{ lib, buildGoPackage, fetchFromGitHub }:
|
2019-02-08 23:36:50 +01:00
|
|
|
|
2020-04-02 08:43:26 +02:00
|
|
|
buildGoPackage rec {
|
|
|
|
pname = "git-town";
|
2021-03-13 07:00:36 +01:00
|
|
|
version = "7.5.0";
|
2019-02-08 23:36:50 +01:00
|
|
|
|
2020-09-02 03:44:48 +02:00
|
|
|
goPackagePath = "github.com/git-town/git-town";
|
2020-04-02 08:43:26 +02:00
|
|
|
src = fetchFromGitHub {
|
2020-09-02 03:44:48 +02:00
|
|
|
owner = "git-town";
|
2020-04-02 08:43:26 +02:00
|
|
|
repo = "git-town";
|
|
|
|
rev = "v${version}";
|
2021-03-13 07:00:36 +01:00
|
|
|
sha256 = "sha256-RmLDlTK+JO2KRLuLvO927W3WYdDlteBIpgTgDXh8lC8=";
|
2020-04-02 08:43:26 +02:00
|
|
|
};
|
2019-02-08 23:36:50 +01:00
|
|
|
|
2020-09-02 03:44:48 +02:00
|
|
|
buildFlagsArray = [ "-ldflags=-X github.com/git-town/git-town/src/cmd.version=v${version} -X github.com/git-town/git-town/src/cmd.buildDate=nix" ];
|
2019-02-08 23:36:50 +01:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-04-02 08:43:26 +02:00
|
|
|
description = "Generic, high-level git support for git-flow workflows";
|
2020-10-02 09:58:50 +02:00
|
|
|
homepage = "https://www.git-town.com/";
|
2020-09-02 03:44:48 +02:00
|
|
|
maintainers = [ maintainers.allonsy maintainers.blaggacao ];
|
2020-04-02 08:43:26 +02:00
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|
2019-02-08 23:36:50 +01:00
|
|
|
|