python312Packages.kneaddata: init at 0.7.7-alpha (#340230)
[NixPkgs.git] / pkgs / applications / version-management / svn-all-fast-export / default.nix
blob6b2628f3a4f104e676edb69c980b892041c833da
2   lib,
3   stdenv,
4   fetchFromGitHub,
5   qmake,
6   qtbase,
7   qttools,
8   subversion,
9   apr,
12 let
13   version = "1.0.18";
15 stdenv.mkDerivation {
16   pname = "svn-all-fast-export";
17   inherit version;
19   src = fetchFromGitHub {
20     owner = "svn-all-fast-export";
21     repo = "svn2git";
22     rev = version;
23     sha256 = "1b5yx2316hbyvw3v30vn1ljma9yd21nd59wis1gi34g92lgvqcd6";
24   };
26   nativeBuildInputs = [
27     qmake
28     qttools
29   ];
30   buildInputs = [
31     apr.dev
32     subversion.dev
33     qtbase
34   ];
36   qmakeFlags = [
37     "VERSION=${version}"
38     "APR_INCLUDE=${apr.dev}/include/apr-1"
39     "SVN_INCLUDE=${subversion.dev}/include/subversion-1"
40   ];
42   NIX_LDFLAGS = "-lsvn_fs-1";
44   dontWrapQtApps = true;
46   meta = with lib; {
47     homepage = "https://github.com/svn-all-fast-export/svn2git";
48     description = "Fast-import based converter for an svn repo to git repos";
49     license = licenses.gpl3;
50     platforms = platforms.all;
51     maintainers = [ maintainers.flokli ];
52     mainProgram = "svn-all-fast-export";
53   };