1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-17 02:14:36 +00:00
nixpkgs/pkgs/applications/version-management/git-and-tools/svn-all-fast-export/default.nix
2020-04-10 17:54:53 +01:00

36 lines
906 B
Nix

{ stdenv, fetchFromGitHub, qmake, qtbase, qttools, subversion, apr }:
let
version = "1.0.17";
in
stdenv.mkDerivation {
pname = "svn-all-fast-export";
inherit version;
src = fetchFromGitHub {
owner = "svn-all-fast-export";
repo = "svn2git";
rev = version;
sha256 = "13gmrxh4i34scv51h9x38v8jqfjykbbd9w7zzqjnxzvzpzsczg9a";
};
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"
];
NIX_LDFLAGS = "-lsvn_fs-1";
meta = with stdenv.lib; {
homepage = "https://github.com/svn-all-fast-export/svn2git";
description = "A fast-import based converter for an svn repo to git repos";
license = licenses.gpl3;
platforms = platforms.all;
maintainers = [ maintainers.flokli ];
};
}