Show More
@@ -1,4 +1,5 b'' | |||
|
1 | 1 | self: super: { |
|
2 | ||
|
2 | 3 | # bump GIT version |
|
3 | 4 | git = super.lib.overrideDerivation super.git (oldAttrs: { |
|
4 | 5 | name = "git-2.19.2"; |
@@ -18,6 +19,29 b' self: super: {' | |||
|
18 | 19 | |
|
19 | 20 | }); |
|
20 | 21 | |
|
22 | libgit2rc = super.lib.overrideDerivation super.libgit2 (oldAttrs: { | |
|
23 | name = "libgit2-0.28.2"; | |
|
24 | version = "0.28.2"; | |
|
25 | ||
|
26 | src = self.fetchFromGitHub { | |
|
27 | owner = "libgit2"; | |
|
28 | repo = "libgit2"; | |
|
29 | rev = "v0.28.2"; | |
|
30 | sha256 = "0cm8fvs05rj0baigs2133q5a0sm3pa234y8h6hmwhl2bz9xq3k4b"; | |
|
31 | }; | |
|
32 | ||
|
33 | cmakeFlags = [ "-DTHREADSAFE=ON" "-DUSE_HTTPS=no"]; | |
|
34 | ||
|
35 | buildInputs = [ | |
|
36 | super.zlib | |
|
37 | super.libssh2 | |
|
38 | super.openssl | |
|
39 | super.curl | |
|
40 | ]; | |
|
41 | ||
|
42 | ||
|
43 | }); | |
|
44 | ||
|
21 | 45 | # Override subversion derivation to |
|
22 | 46 | # - activate python bindings |
|
23 | 47 | subversion = |
@@ -41,7 +65,7 b' self: super: {' | |||
|
41 | 65 | " --with-utf8proc=internal" |
|
42 | 66 | ]; |
|
43 | 67 | |
|
44 | ||
|
45 | 68 | }); |
|
46 | 69 | |
|
70 | ||
|
47 | 71 | } |
@@ -15,6 +15,12 b' in' | |||
|
15 | 15 | |
|
16 | 16 | self: super: { |
|
17 | 17 | |
|
18 | "cffi" = super."cffi".override (attrs: { | |
|
19 | buildInputs = [ | |
|
20 | pkgs.libffi | |
|
21 | ]; | |
|
22 | }); | |
|
23 | ||
|
18 | 24 | "gevent" = super."gevent".override (attrs: { |
|
19 | 25 | propagatedBuildInputs = attrs.propagatedBuildInputs ++ [ |
|
20 | 26 | # NOTE: (marcink) odd requirements from gevent aren't set properly, |
@@ -52,6 +58,12 b' self: super: {' | |||
|
52 | 58 | ]; |
|
53 | 59 | }); |
|
54 | 60 | |
|
61 | "pygit2" = super."pygit2".override (attrs: { | |
|
62 | propagatedBuildInputs = attrs.propagatedBuildInputs ++ [ | |
|
63 | pkgs.libffi | |
|
64 | pkgs.libgit2rc | |
|
65 | ]; | |
|
66 | }); | |
|
55 | 67 | |
|
56 | 68 | # Avoid that base packages screw up the build process |
|
57 | 69 | inherit (basePythonPackages) |
@@ -48,6 +48,20 b' self: super: {' | |||
|
48 | 48 | license = [ pkgs.lib.licenses.mit ]; |
|
49 | 49 | }; |
|
50 | 50 | }; |
|
51 | "cffi" = super.buildPythonPackage { | |
|
52 | name = "cffi-1.12.3"; | |
|
53 | doCheck = false; | |
|
54 | propagatedBuildInputs = [ | |
|
55 | self."pycparser" | |
|
56 | ]; | |
|
57 | src = fetchurl { | |
|
58 | url = "https://files.pythonhosted.org/packages/93/1a/ab8c62b5838722f29f3daffcc8d4bd61844aa9b5f437341cc890ceee483b/cffi-1.12.3.tar.gz"; | |
|
59 | sha256 = "0x075521fxwv0mfp4cqzk7lvmw4n94bjw601qkcv314z5s182704"; | |
|
60 | }; | |
|
61 | meta = { | |
|
62 | license = [ pkgs.lib.licenses.mit ]; | |
|
63 | }; | |
|
64 | }; | |
|
51 | 65 | "configobj" = super.buildPythonPackage { |
|
52 | 66 | name = "configobj-5.0.6"; |
|
53 | 67 | doCheck = false; |
@@ -504,6 +518,32 b' self: super: {' | |||
|
504 | 518 | license = [ pkgs.lib.licenses.mit ]; |
|
505 | 519 | }; |
|
506 | 520 | }; |
|
521 | "pycparser" = super.buildPythonPackage { | |
|
522 | name = "pycparser-2.19"; | |
|
523 | doCheck = false; | |
|
524 | src = fetchurl { | |
|
525 | url = "https://files.pythonhosted.org/packages/68/9e/49196946aee219aead1290e00d1e7fdeab8567783e83e1b9ab5585e6206a/pycparser-2.19.tar.gz"; | |
|
526 | sha256 = "1cr5dcj9628lkz1qlwq3fv97c25363qppkmcayqvd05dpy573259"; | |
|
527 | }; | |
|
528 | meta = { | |
|
529 | license = [ pkgs.lib.licenses.bsdOriginal ]; | |
|
530 | }; | |
|
531 | }; | |
|
532 | "pygit2" = super.buildPythonPackage { | |
|
533 | name = "pygit2-0.28.2"; | |
|
534 | doCheck = false; | |
|
535 | propagatedBuildInputs = [ | |
|
536 | self."cffi" | |
|
537 | self."six" | |
|
538 | ]; | |
|
539 | src = fetchurl { | |
|
540 | url = "https://files.pythonhosted.org/packages/4c/64/88c2a4eb2d22ca1982b364f41ff5da42d61de791d7eb68140e7f8f7eb721/pygit2-0.28.2.tar.gz"; | |
|
541 | sha256 = "11kzj5mjkspvplnpdb6bj8dcj6rgmkk986k8hjcklyg5yaxkz32d"; | |
|
542 | }; | |
|
543 | meta = { | |
|
544 | license = [ { fullName = "GPLv2 with linking exception"; } ]; | |
|
545 | }; | |
|
546 | }; | |
|
507 | 547 | "pygments" = super.buildPythonPackage { |
|
508 | 548 | name = "pygments-2.4.2"; |
|
509 | 549 | doCheck = false; |
@@ -691,6 +731,7 b' self: super: {' | |||
|
691 | 731 | self."pastedeploy" |
|
692 | 732 | self."pyramid" |
|
693 | 733 | self."pyramid-mako" |
|
734 | self."pygit2" | |
|
694 | 735 | self."repoze.lru" |
|
695 | 736 | self."simplejson" |
|
696 | 737 | self."subprocess32" |
General Comments 0
You need to be logged in to leave comments.
Login now