git-subtree: updated to version 0.4-2-g2793ee6
svn path=/nixpkgs/trunk/; revision=29333
This commit is contained in:
parent
595d141a30
commit
19769280f6
@ -104,24 +104,7 @@ rec {
|
|||||||
inherit stdenv fetchgit qt47 subversion apr;
|
inherit stdenv fetchgit qt47 subversion apr;
|
||||||
};
|
};
|
||||||
|
|
||||||
gitSubtree = stdenv.mkDerivation {
|
gitSubtree = import ./git-subtree {
|
||||||
name = "git-subtree-0.4";
|
inherit stdenv fetchurl git asciidoc xmlto docbook_xsl docbook_xml_dtd_45 libxslt;
|
||||||
src = fetchurl {
|
|
||||||
url = "http://github.com/apenwarr/git-subtree/tarball/v0.4";
|
|
||||||
# sha256 = "0y57lpbcc2142jgrr4lflyb9xgzs9x33r7g4b919ncn3alb95vdr";
|
|
||||||
sha256 = "19s8352igwh7x1nqgdfs7rgxahw9cnfv7zmpzpd63m1r3l2945d4";
|
|
||||||
};
|
|
||||||
unpackCmd = "gzip -d < $curSrc | tar xvf -";
|
|
||||||
buildInputs = [ git asciidoc xmlto docbook_xsl docbook_xml_dtd_45 libxslt ];
|
|
||||||
configurePhase = "export prefix=$out";
|
|
||||||
buildPhase = "true";
|
|
||||||
installPhase = ''
|
|
||||||
make install prefix=$out gitdir=$out/bin #work around to deal with a wrong makefile
|
|
||||||
'';
|
|
||||||
meta= {
|
|
||||||
description = "An experimental alternative to the git-submodule command";
|
|
||||||
homepage = http://github.com/apenwarr/git-subtree;
|
|
||||||
license = "GPLv2";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -0,0 +1,27 @@
|
|||||||
|
{ stdenv, fetchurl, git, asciidoc, xmlto, docbook_xsl, docbook_xml_dtd_45, libxslt }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "git-subtree-0.4-2-g2793ee6";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://github.com/apenwarr/git-subtree/tarball/2793ee6ba6da57d97e9c313741041f7eb2e88974";
|
||||||
|
sha256 = "33fdba315cf8846f45dff7622c1099c386db960c7b43d5d8fbb382fd4d1acff6";
|
||||||
|
name = "git-subtree-0.4-2-g2793ee6.tar.gz";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ git asciidoc xmlto docbook_xsl docbook_xml_dtd_45 libxslt ];
|
||||||
|
|
||||||
|
configurePhase = "export prefix=$out";
|
||||||
|
|
||||||
|
buildPhase = "true";
|
||||||
|
|
||||||
|
installPhase = "make install prefix=$out gitdir=$out/bin";
|
||||||
|
|
||||||
|
meta= {
|
||||||
|
description = "experimental alternative to the git-submodule command";
|
||||||
|
homepage = http://github.com/apenwarr/git-subtree;
|
||||||
|
license = stdenv.lib.licenses.gpl2;
|
||||||
|
platforms = stdenv.lib.platforms.gnu;
|
||||||
|
maintainers = [ stdenv.lib.maintainers.simons ];
|
||||||
|
};
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user