1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 07:00:43 +00:00
nixpkgs/pkgs/tools/misc/git-town/default.nix
Alec Snyder b4178f233c Add Git-Town Package (#54732)
* git-town: init at 7.2.0
add git-town package derivation
2019-02-08 17:36:50 -05:00

26 lines
761 B
Nix

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