···1+{ stdenv, fetchurl, unzip, makeWrapper, jre }:
2+3+stdenv.mkDerivation {
4+ name = "subgit-3.1.0";
5+6+ meta = {
7+ description = "A tool for a smooth, stress-free SVN to Git migration";
8+ 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.";
9+ homepage = http://subgit.com;
10+ license = stdenv.lib.licenses.unfree;
11+ platforms = stdenv.lib.platforms.all;
12+ };
13+14+ buildInputs = [ unzip makeWrapper ];
15+16+ installPhase = ''
17+ mkdir $out;
18+ cp -r bin lib $out;
19+ wrapProgram $out/bin/subgit --set JAVA_HOME ${jre};
20+ '';
21+22+ src = fetchurl {
23+ url = http://old.subgit.com/download/subgit-3.1.0.zip;
24+ sha256 = "08qhpg6y2ziwplm0z1ghh1wfp607sw4hyb53a7qzfn759j5kcdrg";
25+ };
26+}