1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 19:21:04 +00:00
nixpkgs/pkgs/applications/version-management/svn-all-fast-export/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

39 lines
969 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 = "Fast-import based converter for an svn repo to git repos";
license = licenses.gpl3;
platforms = platforms.all;
maintainers = [ maintainers.flokli ];
mainProgram = "svn-all-fast-export";
};
}