git-imerge: new package

This commit is contained in:
Spencer Whitt 2015-04-07 00:38:20 -04:00
parent fecba03ba6
commit 943fd93c14
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 ];
};
}