fork
Configure Feed
Select the types of activity you want to include in your feed.
lol
fork
Configure Feed
Select the types of activity you want to include in your feed.
1{ pkgs, stdenv, fetchFromGitHub }:
2
3with pkgs.lib;
4
5stdenv.mkDerivation rec {
6 pname = "gitflow";
7 version = "1.11.0";
8 name = "${pname}-${version}";
9
10 src = fetchFromGitHub {
11 owner = "petervanderdoes";
12 repo = pname;
13 rev = version;
14 sha256 = "0zk53g0wd5n1zlhkwlfp124i6agx8kl0cwvy0dia3jh1p51vsc1q";
15 };
16
17 buildInputs = [ pkgs.makeWrapper ];
18
19 preBuild = ''
20 makeFlagsArray+=(prefix="$out")
21 '';
22
23 postInstall = ''
24 wrapProgram $out/bin/git-flow \
25 --set FLAGS_GETOPT_CMD ${pkgs.getopt}/bin/getopt \
26 --suffix PATH : ${pkgs.git}/bin
27 '';
28
29 meta = with stdenv.lib; {
30 homepage = https://github.com/petervanderdoes/gitflow;
31 description = "Extend git with the Gitflow branching model";
32 longDescription = ''
33 A set of scripts that provide high-level repository operations
34 for managing feature/release/hotfix branches in a Git repository,
35 particularly suited to be utilised to follow Vincent Driessen's
36 branching model.
37 '';
38 license = licenses.bsd2;
39 platforms = platforms.all;
40 maintainers = with maintainers; [ offline jgeerds ];
41 };
42}