Merge pull request #11917 from jerith666/subgit

subgit: init at 3.1.0
This commit is contained in:
Arseniy Seroka 2015-12-29 14:57:47 +03:00
commit 729211de7a
2 changed files with 28 additions and 0 deletions

View File

@ -94,6 +94,8 @@ rec {
svn2git_kde = callPackage ./svn2git-kde { };
subgit = callPackage ./subgit { };
darcsToGit = callPackage ./darcs-to-git { };
gitflow = callPackage ./gitflow { };

View File

@ -0,0 +1,26 @@
{ stdenv, fetchurl, unzip, makeWrapper, jre }:
stdenv.mkDerivation {
name = "subgit-3.1.0";
meta = {
description = "A tool for a smooth, stress-free SVN to Git migration";
longDescription = "Create writable Git mirror of a local or remote Subversion repository and use both Subversion and Git as long as you like. You may also do a fast one-time import from Subversion to Git.";
homepage = http://subgit.com;
license = stdenv.lib.licenses.unfree;
platforms = stdenv.lib.platforms.all;
};
buildInputs = [ unzip makeWrapper ];
installPhase = ''
mkdir $out;
cp -r bin lib $out;
wrapProgram $out/bin/subgit --set JAVA_HOME ${jre};
'';
src = fetchurl {
url = http://old.subgit.com/download/subgit-3.1.0.zip;
sha256 = "08qhpg6y2ziwplm0z1ghh1wfp607sw4hyb53a7qzfn759j5kcdrg";
};
}