1{ stdenv, fetchurl }:
2
3stdenv.mkDerivation rec {
4 name = "gitflow-${version}";
5 version = "1.8.0";
6
7 src = fetchurl {
8 url = "https://github.com/petervanderdoes/gitflow/archive/${version}.tar.gz";
9 sha256 = "1vxdawx4sinl19g59ifmrdalmr2dl5pkgawyj9z0s5mcildi6fc2";
10 };
11
12 preBuild = ''
13 makeFlagsArray+=(prefix="$out")
14 '';
15
16 meta = with stdenv.lib; {
17 homepage = https://github.com/petervanderdoes/gitflow;
18 description = "Extend git with the Gitflow branching model";
19 longDescription = ''
20 A set of scripts that provide high-level repository operations
21 for managing feature/release/hotfix branches in a Git repository,
22 particularly suited to be utilised to follow Vincent Driessen's
23 branching model.
24 '';
25 license = licenses.bsd2;
26 platforms = platforms.all;
27 maintainers = with maintainers; [ offline jgeerds ];
28 };
29}