##// END OF EJS Templates
requirements: added pygit2 into project
marcink -
r723:ae6fe219 default
parent child Browse files
Show More
@@ -1,4 +1,5 b''
1 self: super: {
1 self: super: {
2
2 # bump GIT version
3 # bump GIT version
3 git = super.lib.overrideDerivation super.git (oldAttrs: {
4 git = super.lib.overrideDerivation super.git (oldAttrs: {
4 name = "git-2.19.2";
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 # Override subversion derivation to
45 # Override subversion derivation to
22 # - activate python bindings
46 # - activate python bindings
23 subversion =
47 subversion =
@@ -41,7 +65,7 b' self: super: {'
41 " --with-utf8proc=internal"
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 self: super: {
16 self: super: {
17
17
18 "cffi" = super."cffi".override (attrs: {
19 buildInputs = [
20 pkgs.libffi
21 ];
22 });
23
18 "gevent" = super."gevent".override (attrs: {
24 "gevent" = super."gevent".override (attrs: {
19 propagatedBuildInputs = attrs.propagatedBuildInputs ++ [
25 propagatedBuildInputs = attrs.propagatedBuildInputs ++ [
20 # NOTE: (marcink) odd requirements from gevent aren't set properly,
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 # Avoid that base packages screw up the build process
68 # Avoid that base packages screw up the build process
57 inherit (basePythonPackages)
69 inherit (basePythonPackages)
@@ -48,6 +48,20 b' self: super: {'
48 license = [ pkgs.lib.licenses.mit ];
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 "configobj" = super.buildPythonPackage {
65 "configobj" = super.buildPythonPackage {
52 name = "configobj-5.0.6";
66 name = "configobj-5.0.6";
53 doCheck = false;
67 doCheck = false;
@@ -504,6 +518,32 b' self: super: {'
504 license = [ pkgs.lib.licenses.mit ];
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 "pygments" = super.buildPythonPackage {
547 "pygments" = super.buildPythonPackage {
508 name = "pygments-2.4.2";
548 name = "pygments-2.4.2";
509 doCheck = false;
549 doCheck = false;
@@ -691,6 +731,7 b' self: super: {'
691 self."pastedeploy"
731 self."pastedeploy"
692 self."pyramid"
732 self."pyramid"
693 self."pyramid-mako"
733 self."pyramid-mako"
734 self."pygit2"
694 self."repoze.lru"
735 self."repoze.lru"
695 self."simplejson"
736 self."simplejson"
696 self."subprocess32"
737 self."subprocess32"
@@ -23,6 +23,7 b' pkgs.stdenv.mkDerivation {'
23 pythonPackages.pip-tools
23 pythonPackages.pip-tools
24 pkgs.apr
24 pkgs.apr
25 pkgs.aprutil
25 pkgs.aprutil
26 pkgs.libffi
26 ];
27 ];
27
28
28 shellHook = ''
29 shellHook = ''
@@ -17,6 +17,7 b' msgpack-python==0.5.6'
17 pastedeploy==2.0.1
17 pastedeploy==2.0.1
18 pyramid==1.10.4
18 pyramid==1.10.4
19 pyramid-mako==1.0.2
19 pyramid-mako==1.0.2
20 pygit2==0.28.2
20
21
21 repoze.lru==0.7
22 repoze.lru==0.7
22 simplejson==3.16.0
23 simplejson==3.16.0
General Comments 0
You need to be logged in to leave comments. Login now