2020-04-24 23:36:52 +00:00
|
|
|
{ stdenv, fetchurl, unzip, makeWrapper, jre }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-07-18 16:06:22 +00:00
|
|
|
name = "subgit-3.3.10";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ unzip makeWrapper ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir $out;
|
|
|
|
cp -r bin lib $out;
|
|
|
|
wrapProgram $out/bin/subgit --set JAVA_HOME ${jre};
|
|
|
|
'';
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://subgit.com/download/${name}.zip";
|
2020-07-18 16:06:22 +00:00
|
|
|
sha256 = "1z7cmaghfy5yjs50b3y6av9h2d6xmpamyxql7vvr3dy6kflvv8fk";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|