mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 16:15:05 +00:00
d994dabace
We do not use a "plugin system" for Git addons anymore, and therefore this directory is no longer useful. Indeed that directory is way more confusing, given that it includes more than mere Git addons, going from Bitbucket server command-line tools to complete rewrites of Git in exotic programming languages. Also, without this directory, the mental load of decision-making reduces a lot. When anyone is interested in including a new git-related tool, just put it into pkgs/applications/version-management, without apologies.
38 lines
930 B
Nix
38 lines
930 B
Nix
{ lib, stdenv, fetchFromGitHub, qmake, qtbase, qttools, subversion, apr }:
|
|
|
|
let
|
|
version = "1.0.18";
|
|
in
|
|
stdenv.mkDerivation {
|
|
pname = "svn-all-fast-export";
|
|
inherit version;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "svn-all-fast-export";
|
|
repo = "svn2git";
|
|
rev = version;
|
|
sha256 = "1b5yx2316hbyvw3v30vn1ljma9yd21nd59wis1gi34g92lgvqcd6";
|
|
};
|
|
|
|
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";
|
|
|
|
dontWrapQtApps = true;
|
|
|
|
meta = with 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 ];
|
|
};
|
|
}
|