1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-28 08:31:59 +00:00
nixpkgs/pkgs/tools/misc/git-town/default.nix

25 lines
734 B
Nix
Raw Normal View History

2020-04-02 07:43:26 +01:00
{ stdenv, buildGoPackage, fetchFromGitHub }:
2020-04-02 07:43:26 +01:00
buildGoPackage rec {
pname = "git-town";
2020-09-02 02:44:48 +01:00
version = "7.4.0";
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}";
2020-09-02 02:44:48 +01:00
sha256 = "05s2hp4xn0bs3y6rgqkpgz0k8q8yfpwkw5m8vwim95hk6n41ps18";
2020-04-02 07:43:26 +01:00
};
2020-09-02 02:44:48 +01: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" ];
2020-04-02 07:43:26 +01:00
meta = with stdenv.lib; {
description = "Generic, high-level git support for git-flow workflows";
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;
};
}