2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildGoPackage, fetchFromGitHub }:
|
2019-02-08 22:36:50 +00:00
|
|
|
|
2020-04-02 07:43:26 +01:00
|
|
|
buildGoPackage rec {
|
|
|
|
pname = "git-town";
|
2021-12-07 00:23:17 +00:00
|
|
|
version = "7.6.0";
|
2019-02-08 22:36:50 +00:00
|
|
|
|
2020-09-02 02:44:48 +01:00
|
|
|
goPackagePath = "github.com/git-town/git-town";
|
2020-04-02 07:43:26 +01:00
|
|
|
src = fetchFromGitHub {
|
2020-09-02 02:44:48 +01:00
|
|
|
owner = "git-town";
|
2020-04-02 07:43:26 +01:00
|
|
|
repo = "git-town";
|
|
|
|
rev = "v${version}";
|
2021-12-07 00:23:17 +00:00
|
|
|
sha256 = "sha256-yarJWIEIZuBcXXxltkiM7LwrEM8fveD3+JVoPGarhJQ=";
|
2020-04-02 07:43:26 +01:00
|
|
|
};
|
2019-02-08 22:36:50 +00:00
|
|
|
|
2021-08-26 04:31:57 +01:00
|
|
|
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 22:36:50 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-02 07:43:26 +01:00
|
|
|
description = "Generic, high-level git support for git-flow workflows";
|
2020-10-02 08:58:50 +01:00
|
|
|
homepage = "https://www.git-town.com/";
|
2020-09-02 02:44:48 +01:00
|
|
|
maintainers = [ maintainers.allonsy maintainers.blaggacao ];
|
2020-04-02 07:43:26 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|