2012-05-12 20:45:55 +01:00
|
|
|
{ stdenv, fetchgit, qt4, subversion, apr}:
|
2012-04-04 16:30:29 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2012-05-18 16:01:54 +01:00
|
|
|
name = "svn2git-kde-1.0.5";
|
2012-04-04 16:30:29 +01:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = http://git.gitorious.org/svn2git/svn2git.git;
|
2012-05-18 16:01:54 +01:00
|
|
|
rev = "149d6c6e14a1724c96999328683a9264fc508264";
|
|
|
|
sha256 = "818673fe751b00a42b6ed3e78a783549fb09b5245a01dee47b3dded667bfc582";
|
2012-04-04 16:30:29 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildPhase = ''
|
|
|
|
sed -i 's|/bin/cat|cat|' ./src/repository.cpp
|
|
|
|
qmake
|
|
|
|
make CXXFLAGS='-I${apr}/include/apr-1 -I${subversion}/include/subversion-1 -DVER="\"${src.rev}\""'
|
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
2014-06-30 13:56:10 +01:00
|
|
|
mkdir -p $out/bin
|
2012-04-04 16:30:29 +01:00
|
|
|
cp svn-all-fast-export $out/bin
|
|
|
|
'';
|
|
|
|
|
2012-05-12 20:45:55 +01:00
|
|
|
buildInputs = [ subversion apr qt4 ];
|
2015-08-04 16:34:49 +01:00
|
|
|
|
|
|
|
meta.broken = true;
|
2012-04-04 16:30:29 +01:00
|
|
|
}
|