mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 15:56:50 +01:00
24 lines
723 B
Nix
24 lines
723 B
Nix
{ lib, buildGoPackage, fetchFromGitHub }:
|
|
|
|
buildGoPackage rec {
|
|
pname = "git-town";
|
|
version = "7.5.0";
|
|
|
|
goPackagePath = "github.com/git-town/git-town";
|
|
src = fetchFromGitHub {
|
|
owner = "git-town";
|
|
repo = "git-town";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-RmLDlTK+JO2KRLuLvO927W3WYdDlteBIpgTgDXh8lC8=";
|
|
};
|
|
|
|
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" ];
|
|
|
|
meta = with lib; {
|
|
description = "Generic, high-level git support for git-flow workflows";
|
|
homepage = "https://www.git-town.com/";
|
|
maintainers = [ maintainers.allonsy maintainers.blaggacao ];
|
|
license = licenses.mit;
|
|
};
|
|
}
|
|
|