Show More
@@ -86,7 +86,7 b' let' | |||
|
86 | 86 | propagatedBuildInputs = |
|
87 | 87 | attrs.propagatedBuildInputs or [] ++ [ |
|
88 | 88 | pkgs.git |
|
89 | pkgs.subversion | |
|
89 | pkgs.subversionrc | |
|
90 | 90 | ]; |
|
91 | 91 | |
|
92 | 92 | preBuild = '' |
@@ -176,7 +176,7 b' let' | |||
|
176 | 176 | # correct version. Wrapping is required so those can "import" |
|
177 | 177 | # vcsserver python hooks. |
|
178 | 178 | pkgs.git |
|
179 | pkgs.subversion | |
|
179 | pkgs.subversionrc | |
|
180 | 180 | ]; |
|
181 | 181 | # expose following attributed outside |
|
182 | 182 | passthru = { |
@@ -198,10 +198,10 b' let' | |||
|
198 | 198 | do |
|
199 | 199 | wrapProgram $file \ |
|
200 | 200 | --prefix PATH : ${pkgs.git}/bin \ |
|
201 | --prefix PATH : ${pkgs.subversion}/bin \ | |
|
201 | --prefix PATH : ${pkgs.subversionrc}/bin \ | |
|
202 | 202 | --prefix PATH : ${pythonEnv}/bin \ |
|
203 | 203 | --prefix PYTHONPATH : ${pythonEnv}/${pythonEnv.sitePackages} \ |
|
204 | --prefix PYTHONPATH : ${pkgs.subversion}/${pythonEnv.sitePackages} \ | |
|
204 | --prefix PYTHONPATH : ${pkgs.subversionrc}/${pythonEnv.sitePackages} \ | |
|
205 | 205 | --set PYTHONHASHSEED $RANDOM |
|
206 | 206 | done |
|
207 | 207 | echo "DONE: vcsserver binary wrapping" |
@@ -21,14 +21,14 b' self: super: {' | |||
|
21 | 21 | }); |
|
22 | 22 | |
|
23 | 23 | libgit2rc = super.lib.overrideDerivation super.libgit2 (oldAttrs: { |
|
24 |
name = "libgit2-0. |
|
|
25 |
version = "0. |
|
|
24 | name = "libgit2-1.0.1"; | |
|
25 | version = "1.0.1"; | |
|
26 | 26 | |
|
27 | 27 | src = self.fetchFromGitHub { |
|
28 | 28 | owner = "libgit2"; |
|
29 | 29 | repo = "libgit2"; |
|
30 |
rev = "v0. |
|
|
31 |
sha256 = " |
|
|
30 | rev = "v1.0.1"; | |
|
31 | sha256 = "1cm8fvs05rj0baigs2133q5a0sm3pa234y8h6hmwhl2bz9xq3k4b"; | |
|
32 | 32 | }; |
|
33 | 33 | |
|
34 | 34 | cmakeFlags = [ "-DTHREADSAFE=ON" "-DUSE_HTTPS=no"]; |
@@ -43,21 +43,48 b' self: super: {' | |||
|
43 | 43 | |
|
44 | 44 | }); |
|
45 | 45 | |
|
46 | ||
|
47 | ||
|
46 | 48 | # Override subversion derivation to |
|
47 | 49 | # - activate python bindings |
|
48 | subversion = | |
|
50 | subversionrc = | |
|
51 | let | |
|
52 | py3c = self.python37Packages.buildPythonPackage rec { | |
|
53 | pname = "py3c"; | |
|
54 | version = "1.0"; | |
|
55 | src = self.fetchurl { | |
|
56 | url = "https://files.pythonhosted.org/packages/6a/aa/9f1a69a8c71e72553b281603633e42501de932aa4d9912bccbf9a2884093/py3c-1.0.tar.gz"; | |
|
57 | sha256 = "1h80jqi6r64kppxb4kshsiadrgc5hwk5arp3zcki01jf4ahknjz9"; | |
|
58 | }; | |
|
59 | format = "setuptools"; | |
|
60 | doCheck = false; | |
|
61 | buildInputs = []; | |
|
62 | checkInputs = []; | |
|
63 | nativeBuildInputs = []; | |
|
64 | propagatedBuildInputs = []; | |
|
65 | meta = { | |
|
66 | license = [ ]; | |
|
67 | }; | |
|
68 | }; | |
|
69 | in | |
|
70 | let | |
|
71 | pythonWithEnv = self.python37Packages.python.buildEnv.override { | |
|
72 | extraLibs = [ py3c ]; | |
|
73 | }; | |
|
74 | in | |
|
49 | 75 | let |
|
50 | 76 | subversionWithPython = super.subversion.override { |
|
51 | httpSupport = true; | |
|
77 | httpSupport = true; # client must support http | |
|
52 | 78 | pythonBindings = true; |
|
53 |
python = |
|
|
79 | python = pythonWithEnv; | |
|
54 | 80 | }; |
|
81 | ||
|
55 | 82 | in |
|
56 | 83 | super.lib.overrideDerivation subversionWithPython (oldAttrs: { |
|
57 |
name = "subversion-1.1 |
|
|
84 | name = "subversion-1.14.0"; | |
|
58 | 85 | src = self.fetchurl { |
|
59 |
url = "https://archive.apache.org/dist/subversion/subversion-1.1 |
|
|
60 | sha256 = "0cb9p7f5hg0l4k32hz8vmvy2r45igchq5sh4m366za5q0c649bfs"; | |
|
86 | url = "https://archive.apache.org/dist/subversion/subversion-1.14.0.tar.gz"; | |
|
87 | sha256 = "1l1px5kva5a13pi2rkxfgxfvypvl6bmbkdag6168fhayad3i2ggg"; | |
|
61 | 88 | }; |
|
62 | 89 | |
|
63 | 90 | ## use internal lz4/utf8proc because it is stable and shipped with SVN |
@@ -65,7 +92,8 b' self: super: {' | |||
|
65 | 92 | " --with-lz4=internal" |
|
66 | 93 | " --with-utf8proc=internal" |
|
67 | 94 | ]; |
|
68 | ||
|
69 | 95 | }); |
|
70 | 96 | |
|
97 | ||
|
98 | ||
|
71 | 99 | } |
@@ -54,9 +54,10 b' self: super: {' | |||
|
54 | 54 | nativeBuildInputs = with self; attrs.nativeBuildInputs ++ [ |
|
55 | 55 | pkgs.apr.dev |
|
56 | 56 | pkgs.aprutil |
|
57 | pkgs.subversionrc | |
|
57 | 58 | ]; |
|
58 | 59 | buildInputs = with self; attrs.buildInputs ++ [ |
|
59 | pkgs.subversion | |
|
60 | pkgs.subversionrc | |
|
60 | 61 | ]; |
|
61 | 62 | }); |
|
62 | 63 |
@@ -58,6 +58,23 b' self: super: {' | |||
|
58 | 58 | license = [ pkgs.lib.licenses.mit ]; |
|
59 | 59 | }; |
|
60 | 60 | }; |
|
61 | "cached-property" = super.buildPythonPackage rec { | |
|
62 | pname = "cached-property"; | |
|
63 | version = "1.5.1"; | |
|
64 | src = fetchurl { | |
|
65 | url = "https://files.pythonhosted.org/packages/57/8e/0698e10350a57d46b3bcfe8eff1d4181642fd1724073336079cb13c5cf7f/cached-property-1.5.1.tar.gz"; | |
|
66 | sha256 = "010m1bl380l2r3vwq24r5v14l6gwvgm9v0mqqjkjss552jgsa5wj"; | |
|
67 | }; | |
|
68 | format = "setuptools"; | |
|
69 | doCheck = false; | |
|
70 | buildInputs = []; | |
|
71 | checkInputs = []; | |
|
72 | nativeBuildInputs = []; | |
|
73 | propagatedBuildInputs = []; | |
|
74 | meta = { | |
|
75 | license = [ pkgs.lib.licenses.bsdOriginal ]; | |
|
76 | }; | |
|
77 | }; | |
|
61 | 78 | "cffi" = super.buildPythonPackage rec { |
|
62 | 79 | pname = "cffi"; |
|
63 | 80 | version = "1.14.0"; |
@@ -579,19 +596,22 b' self: super: {' | |||
|
579 | 596 | }; |
|
580 | 597 | "pygit2" = super.buildPythonPackage rec { |
|
581 | 598 | pname = "pygit2"; |
|
582 |
version = " |
|
|
599 | version = "1.2.1"; | |
|
583 | 600 | src = fetchurl { |
|
584 |
url = "https://files.pythonhosted.org/packages/4c |
|
|
585 | sha256 = "11kzj5mjkspvplnpdb6bj8dcj6rgmkk986k8hjcklyg5yaxkz32d"; | |
|
601 | url = "https://files.pythonhosted.org/packages/d0/c6/33e2df5722e3adf49adc6a2d3c2cdb5a5247236fd8f2063a0c4d058116a1/pygit2-1.2.1.tar.gz"; | |
|
602 | sha256 = "11q3a0p4mvzdskla0c6ffcrddldfbh7dc4p5l6xrriwri88j356y"; | |
|
586 | 603 | }; |
|
587 | 604 | format = "setuptools"; |
|
588 | 605 | doCheck = false; |
|
589 | 606 | buildInputs = []; |
|
590 | 607 | checkInputs = []; |
|
591 |
nativeBuildInputs = [ |
|
|
608 | nativeBuildInputs = [ | |
|
609 | self."setuptools" | |
|
610 | self."wheel" | |
|
611 | ]; | |
|
592 | 612 | propagatedBuildInputs = [ |
|
613 | self."cached-property" | |
|
593 | 614 | self."cffi" |
|
594 | self."six" | |
|
595 | 615 | ]; |
|
596 | 616 | meta = { |
|
597 | 617 | license = [ { fullName = "GPLv2 with linking exception"; } ]; |
General Comments 0
You need to be logged in to leave comments.
Login now