Show More
@@ -1,71 +1,72 b'' | |||
|
1 | 1 | self: super: { |
|
2 | 2 | |
|
3 |
# |
|
|
3 | # change GIT version | |
|
4 | # latest supported are in: https://github.com/NixOS/nixpkgs/tree/master/pkgs/applications/version-management/git-and-tools/git | |
|
4 | 5 | git = super.lib.overrideDerivation super.git (oldAttrs: { |
|
5 |
name = "git-2.2 |
|
|
6 | name = "git-2.25.3"; | |
|
6 | 7 | src = self.fetchurl { |
|
7 |
url = "https://www.kernel.org/pub/software/scm/git/git-2.2 |
|
|
8 | sha256 = "0ql5z31vgl7b785gwrf00m129mg7zi9pa65n12ij3mpxx3f28gvj"; | |
|
8 | url = "https://www.kernel.org/pub/software/scm/git/git-2.25.3.tar.xz"; | |
|
9 | sha256 = "0yvr97cl0dvj3fwblq1mb0cp97v8hrn9l98p8b1jx8815mbsnz9h"; | |
|
9 | 10 | }; |
|
10 | 11 | |
|
11 | 12 | # patches come from: https://github.com/NixOS/nixpkgs/tree/master/pkgs/applications/version-management/git-and-tools/git |
|
12 | 13 | patches = [ |
|
13 | 14 | ./patches/git/docbook2texi.patch |
|
14 | 15 | ./patches/git/git-sh-i18n.patch |
|
15 | 16 | ./patches/git/ssh-path.patch |
|
16 | 17 | ./patches/git/git-send-email-honor-PATH.patch |
|
17 | 18 | ./patches/git/installCheck-path.patch |
|
18 | 19 | ]; |
|
19 | 20 | |
|
20 | 21 | }); |
|
21 | 22 | |
|
22 | 23 | libgit2rc = super.lib.overrideDerivation super.libgit2 (oldAttrs: { |
|
23 | 24 | name = "libgit2-0.28.2"; |
|
24 | 25 | version = "0.28.2"; |
|
25 | 26 | |
|
26 | 27 | src = self.fetchFromGitHub { |
|
27 | 28 | owner = "libgit2"; |
|
28 | 29 | repo = "libgit2"; |
|
29 | 30 | rev = "v0.28.2"; |
|
30 | 31 | sha256 = "0cm8fvs05rj0baigs2133q5a0sm3pa234y8h6hmwhl2bz9xq3k4b"; |
|
31 | 32 | }; |
|
32 | 33 | |
|
33 | 34 | cmakeFlags = [ "-DTHREADSAFE=ON" "-DUSE_HTTPS=no"]; |
|
34 | 35 | |
|
35 | 36 | buildInputs = [ |
|
36 | 37 | super.zlib |
|
37 | 38 | super.libssh2 |
|
38 | 39 | super.openssl |
|
39 | 40 | super.curl |
|
40 | 41 | ]; |
|
41 | 42 | |
|
42 | 43 | |
|
43 | 44 | }); |
|
44 | 45 | |
|
45 | 46 | # Override subversion derivation to |
|
46 | 47 | # - activate python bindings |
|
47 | 48 | subversion = |
|
48 | 49 | let |
|
49 | 50 | subversionWithPython = super.subversion.override { |
|
50 | 51 | httpSupport = true; |
|
51 | 52 | pythonBindings = true; |
|
52 | 53 | python = self.python27Packages.python; |
|
53 | 54 | }; |
|
54 | 55 | in |
|
55 | 56 | super.lib.overrideDerivation subversionWithPython (oldAttrs: { |
|
56 | 57 | name = "subversion-1.13.0"; |
|
57 | 58 | src = self.fetchurl { |
|
58 | 59 | url = "https://archive.apache.org/dist/subversion/subversion-1.13.0.tar.gz"; |
|
59 | 60 | sha256 = "0cb9p7f5hg0l4k32hz8vmvy2r45igchq5sh4m366za5q0c649bfs"; |
|
60 | 61 | }; |
|
61 | 62 | |
|
62 | 63 | ## use internal lz4/utf8proc because it is stable and shipped with SVN |
|
63 | 64 | configureFlags = oldAttrs.configureFlags ++ [ |
|
64 | 65 | " --with-lz4=internal" |
|
65 | 66 | " --with-utf8proc=internal" |
|
66 | 67 | ]; |
|
67 | 68 | |
|
68 | 69 | }); |
|
69 | 70 | |
|
70 | 71 | |
|
71 | 72 | } |
General Comments 0
You need to be logged in to leave comments.
Login now