2018-07-21 01:44:44 +01:00
|
|
|
{ stdenv, fetchFromGitHub, qmake, qtbase, qttools, subversion, apr }:
|
2018-02-06 21:49:57 +00:00
|
|
|
|
|
|
|
let
|
2020-05-10 13:41:00 +01:00
|
|
|
version = "1.0.18";
|
2018-02-06 21:49:57 +00:00
|
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
2019-08-13 22:52:01 +01:00
|
|
|
pname = "svn-all-fast-export";
|
|
|
|
inherit version;
|
2018-02-06 21:49:57 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "svn-all-fast-export";
|
|
|
|
repo = "svn2git";
|
|
|
|
rev = version;
|
2020-05-10 13:41:00 +01:00
|
|
|
sha256 = "1b5yx2316hbyvw3v30vn1ljma9yd21nd59wis1gi34g92lgvqcd6";
|
2018-02-06 21:49:57 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ qmake qttools ];
|
|
|
|
buildInputs = [ apr.dev subversion.dev qtbase ];
|
|
|
|
|
|
|
|
qmakeFlags = [
|
|
|
|
"VERSION=${version}"
|
|
|
|
"APR_INCLUDE=${apr.dev}/include/apr-1"
|
|
|
|
"SVN_INCLUDE=${subversion.dev}/include/subversion-1"
|
|
|
|
];
|
|
|
|
|
2019-10-30 01:29:30 +00:00
|
|
|
NIX_LDFLAGS = "-lsvn_fs-1";
|
2019-01-04 19:33:50 +00:00
|
|
|
|
2018-02-06 21:49:57 +00:00
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/svn-all-fast-export/svn2git";
|
2018-02-06 21:49:57 +00:00
|
|
|
description = "A fast-import based converter for an svn repo to git repos";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = [ maintainers.flokli ];
|
|
|
|
};
|
|
|
|
}
|