nixpkgs/pkgs/applications/version-management/git-and-tools/gitflow/default.nix
2016-10-11 23:38:29 +02:00

33 lines
903 B
Nix

{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "gitflow";
version = "1.10.0";
name = "${pname}-${version}";
src = fetchFromGitHub {
owner = "petervanderdoes";
repo = pname;
rev = version;
sha256 = "1l67yizbcmgkhz8qn1zam2p04y8ha9b2gb2d89rff9y528b2m5z6";
};
preBuild = ''
makeFlagsArray+=(prefix="$out")
'';
meta = with stdenv.lib; {
homepage = https://github.com/petervanderdoes/gitflow;
description = "Extend git with the Gitflow branching model";
longDescription = ''
A set of scripts that provide high-level repository operations
for managing feature/release/hotfix branches in a Git repository,
particularly suited to be utilised to follow Vincent Driessen's
branching model.
'';
license = licenses.bsd2;
platforms = platforms.all;
maintainers = with maintainers; [ offline jgeerds ];
};
}