biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / applications / version-management / rapidsvn / default.nix
blob53df3af4a79d48456fc2f0a519a7ed1862a7c462
1 { lib
2 , stdenv
3 , fetchFromGitHub
4 , autoreconfHook
5 , wxGTK32
6 , subversion
7 , apr
8 , aprutil
9 , python3
10 , darwin
13 stdenv.mkDerivation rec {
14   pname = "rapidsvn";
15   version = "unstable-2021-08-02";
17   src = fetchFromGitHub {
18     owner = "RapidSVN";
19     repo = "RapidSVN";
20     rev = "3a564e071c3c792f5d733a9433b9765031f8eed0";
21     hash = "sha256-6bQTHAOZAP+06kZDHjDx9VnGm4vrZUDyLHZdTpiyP08=";
22   };
24   postPatch = ''
25     substituteInPlace configure.ac \
26       --replace "[3.0.*]" "[3.*]"
27   '';
29   nativeBuildInputs = [
30     autoreconfHook
31   ];
33   buildInputs = [
34     wxGTK32
35     subversion
36     apr
37     aprutil
38     python3
39   ] ++ lib.optionals stdenv.isDarwin [
40     darwin.apple_sdk.frameworks.Cocoa
41   ];
43   configureFlags = [
44     "--with-svn-include=${subversion.dev}/include"
45     "--with-svn-lib=${subversion.out}/lib"
46   ];
48   env.NIX_CFLAGS_COMPILE = "-std=c++14";
50   meta = {
51     description = "Multi-platform GUI front-end for the Subversion revision system";
52     homepage = "http://rapidsvn.tigris.org/";
53     license = lib.licenses.gpl3Plus;
54     maintainers = [ lib.maintainers.viric ];
55     platforms = lib.platforms.unix;
56     mainProgram = "rapidsvn";
57   };