Merge pull request #7276 from spwhitt/git-imerge

git-imerge: new package
This commit is contained in:
John Wiegley 2015-04-26 19:51:05 -05:00
commit de808ae79f
2 changed files with 29 additions and 0 deletions

View File

@ -102,4 +102,6 @@ rec {
git-extras = callPackage ./git-extras { };
git-cola = callPackage ./git-cola { };
git-imerge = callPackage ./git-imerge { };
}

View File

@ -0,0 +1,27 @@
{ stdenv, fetchurl, pythonPackages }:
stdenv.mkDerivation rec {
name = "git-imerge-${version}";
version = "0.7.0";
src = fetchurl {
url = "https://github.com/mhagger/git-imerge/archive/${version}.tar.gz";
sha256 = "00nwn3rfhf15wsv01lfji5412d7yz827ric916lnyp662d6gx206";
};
buildInputs = [ pythonPackages.python pythonPackages.wrapPython ];
installPhase = ''
mkdir -p $out/bin
make install PREFIX=$out
wrapPythonPrograms
'';
meta = with stdenv.lib; {
homepage = https://github.com/mhagger/git-imerge;
description = "Perform a merge between two branches incrementally";
license = licenses.gpl2;
platforms = platforms.all;
maintainers = [ maintainers.spwhitt ];
};
}