Show More
@@ -72,7 +72,7 b' self: super: {' | |||||
72 | ]; |
|
72 | ]; | |
73 | }); |
|
73 | }); | |
74 |
|
74 | |||
75 | "nbconvert" = super."nbconvert".override (attrs: { |
|
75 | "nbconvert" = super."nbconvert".override (attrs: { | |
76 | propagatedBuildInputs = attrs.propagatedBuildInputs ++ [ |
|
76 | propagatedBuildInputs = attrs.propagatedBuildInputs ++ [ | |
77 | # marcink: plug in jupyter-client for notebook rendering |
|
77 | # marcink: plug in jupyter-client for notebook rendering | |
78 | self."jupyter-client" |
|
78 | self."jupyter-client" | |
@@ -120,10 +120,12 b' self: super: {' | |||||
120 | pkgs.curl |
|
120 | pkgs.curl | |
121 | pkgs.openssl |
|
121 | pkgs.openssl | |
122 | ]; |
|
122 | ]; | |
|
123 | ||||
123 | preConfigure = '' |
|
124 | preConfigure = '' | |
124 | substituteInPlace setup.py --replace '--static-libs' '--libs' |
|
125 | substituteInPlace setup.py --replace '--static-libs' '--libs' | |
125 | export PYCURL_SSL_LIBRARY=openssl |
|
126 | export PYCURL_SSL_LIBRARY=openssl | |
126 | ''; |
|
127 | ''; | |
|
128 | ||||
127 | meta = { |
|
129 | meta = { | |
128 | license = pkgs.lib.licenses.mit; |
|
130 | license = pkgs.lib.licenses.mit; | |
129 | }; |
|
131 | }; | |
@@ -168,14 +170,32 b' self: super: {' | |||||
168 | propagatedBuildInputs = [ |
|
170 | propagatedBuildInputs = [ | |
169 | pkgs.pam |
|
171 | pkgs.pam | |
170 | ]; |
|
172 | ]; | |
|
173 | ||||
171 | # TODO: johbo: Check if this can be avoided, or transform into |
|
174 | # TODO: johbo: Check if this can be avoided, or transform into | |
172 | # a real patch |
|
175 | # a real patch | |
173 | patchPhase = '' |
|
176 | patchPhase = '' | |
174 | substituteInPlace pam.py \ |
|
177 | substituteInPlace pam.py \ | |
175 | --replace 'find_library("pam")' '"${pkgs.pam}/lib/libpam.so.0"' |
|
178 | --replace 'find_library("pam")' '"${pkgs.pam}/lib/libpam.so.0"' | |
176 | ''; |
|
179 | ''; | |
|
180 | ||||
177 | }); |
|
181 | }); | |
178 |
|
182 | |||
|
183 | "python-saml" = super."python-saml".override (attrs: { | |||
|
184 | buildInputs = [ | |||
|
185 | pkgs.libxml2 | |||
|
186 | pkgs.libxslt | |||
|
187 | ]; | |||
|
188 | }); | |||
|
189 | ||||
|
190 | "dm.xmlsec.binding" = super."dm.xmlsec.binding".override (attrs: { | |||
|
191 | buildInputs = [ | |||
|
192 | pkgs.libxml2 | |||
|
193 | pkgs.libxslt | |||
|
194 | pkgs.xmlsec | |||
|
195 | pkgs.libtool | |||
|
196 | ]; | |||
|
197 | }); | |||
|
198 | ||||
179 | "pyzmq" = super."pyzmq".override (attrs: { |
|
199 | "pyzmq" = super."pyzmq".override (attrs: { | |
180 | buildInputs = [ |
|
200 | buildInputs = [ | |
181 | pkgs.czmq |
|
201 | pkgs.czmq |
@@ -335,6 +335,32 b' self: super: {' | |||||
335 | license = [ { fullName = "BSD-derived (http://www.repoze.org/LICENSE.txt)"; } ]; |
|
335 | license = [ { fullName = "BSD-derived (http://www.repoze.org/LICENSE.txt)"; } ]; | |
336 | }; |
|
336 | }; | |
337 | }; |
|
337 | }; | |
|
338 | "defusedxml" = super.buildPythonPackage { | |||
|
339 | name = "defusedxml-0.5.0"; | |||
|
340 | doCheck = false; | |||
|
341 | src = fetchurl { | |||
|
342 | url = "https://files.pythonhosted.org/packages/74/ba/4ba4e89e21b5a2e267d80736ea674609a0a33cc4435a6d748ef04f1f9374/defusedxml-0.5.0.tar.gz"; | |||
|
343 | sha256 = "1x54n0h8hl92vvwyymx883fbqpqjwn2mc8fb383bcg3z9zwz5mr4"; | |||
|
344 | }; | |||
|
345 | meta = { | |||
|
346 | license = [ pkgs.lib.licenses.psfl ]; | |||
|
347 | }; | |||
|
348 | }; | |||
|
349 | "dm.xmlsec.binding" = super.buildPythonPackage { | |||
|
350 | name = "dm.xmlsec.binding-1.3.7"; | |||
|
351 | doCheck = false; | |||
|
352 | propagatedBuildInputs = [ | |||
|
353 | self."setuptools" | |||
|
354 | self."lxml" | |||
|
355 | ]; | |||
|
356 | src = fetchurl { | |||
|
357 | url = "https://files.pythonhosted.org/packages/2c/9e/7651982d50252692991acdae614af821fd6c79bc8dcd598ad71d55be8fc7/dm.xmlsec.binding-1.3.7.tar.gz"; | |||
|
358 | sha256 = "03jjjscx1pz2nc0dwiw9nia02qbz1c6f0f9zkyr8fmvys2n5jkb3"; | |||
|
359 | }; | |||
|
360 | meta = { | |||
|
361 | license = [ pkgs.lib.licenses.bsdOriginal ]; | |||
|
362 | }; | |||
|
363 | }; | |||
338 | "docutils" = super.buildPythonPackage { |
|
364 | "docutils" = super.buildPythonPackage { | |
339 | name = "docutils-0.14"; |
|
365 | name = "docutils-0.14"; | |
340 | doCheck = false; |
|
366 | doCheck = false; | |
@@ -671,6 +697,20 b' self: super: {' | |||||
671 | license = [ pkgs.lib.licenses.mit ]; |
|
697 | license = [ pkgs.lib.licenses.mit ]; | |
672 | }; |
|
698 | }; | |
673 | }; |
|
699 | }; | |
|
700 | "isodate" = super.buildPythonPackage { | |||
|
701 | name = "isodate-0.6.0"; | |||
|
702 | doCheck = false; | |||
|
703 | propagatedBuildInputs = [ | |||
|
704 | self."six" | |||
|
705 | ]; | |||
|
706 | src = fetchurl { | |||
|
707 | url = "https://files.pythonhosted.org/packages/b1/80/fb8c13a4cd38eb5021dc3741a9e588e4d1de88d895c1910c6fc8a08b7a70/isodate-0.6.0.tar.gz"; | |||
|
708 | sha256 = "1n7jkz68kk5pwni540pr5zdh99bf6ywydk1p5pdrqisrawylldif"; | |||
|
709 | }; | |||
|
710 | meta = { | |||
|
711 | license = [ pkgs.lib.licenses.bsdOriginal ]; | |||
|
712 | }; | |||
|
713 | }; | |||
674 | "itsdangerous" = super.buildPythonPackage { |
|
714 | "itsdangerous" = super.buildPythonPackage { | |
675 | name = "itsdangerous-0.24"; |
|
715 | name = "itsdangerous-0.24"; | |
676 | doCheck = false; |
|
716 | doCheck = false; | |
@@ -1543,6 +1583,22 b' self: super: {' | |||||
1543 | license = [ { fullName = "License :: OSI Approved :: MIT License"; } pkgs.lib.licenses.mit ]; |
|
1583 | license = [ { fullName = "License :: OSI Approved :: MIT License"; } pkgs.lib.licenses.mit ]; | |
1544 | }; |
|
1584 | }; | |
1545 | }; |
|
1585 | }; | |
|
1586 | "python-saml" = super.buildPythonPackage { | |||
|
1587 | name = "python-saml-2.4.2"; | |||
|
1588 | doCheck = false; | |||
|
1589 | propagatedBuildInputs = [ | |||
|
1590 | self."dm.xmlsec.binding" | |||
|
1591 | self."isodate" | |||
|
1592 | self."defusedxml" | |||
|
1593 | ]; | |||
|
1594 | src = fetchurl { | |||
|
1595 | url = "https://files.pythonhosted.org/packages/79/a8/a6611017e0883102fd5e2b73c9d90691b8134e38247c04ee1531d3dc647c/python-saml-2.4.2.tar.gz"; | |||
|
1596 | sha256 = "0dls4hwvf13yg7x5yfjrghbywg8g38vn5vr0rsf70hli3ydbfm43"; | |||
|
1597 | }; | |||
|
1598 | meta = { | |||
|
1599 | license = [ pkgs.lib.licenses.mit ]; | |||
|
1600 | }; | |||
|
1601 | }; | |||
1546 | "pytz" = super.buildPythonPackage { |
|
1602 | "pytz" = super.buildPythonPackage { | |
1547 | name = "pytz-2018.4"; |
|
1603 | name = "pytz-2018.4"; | |
1548 | doCheck = false; |
|
1604 | doCheck = false; | |
@@ -1697,6 +1753,7 b' self: super: {' | |||||
1697 | self."python-ldap" |
|
1753 | self."python-ldap" | |
1698 | self."python-memcached" |
|
1754 | self."python-memcached" | |
1699 | self."python-pam" |
|
1755 | self."python-pam" | |
|
1756 | self."python-saml" | |||
1700 | self."pytz" |
|
1757 | self."pytz" | |
1701 | self."tzlocal" |
|
1758 | self."tzlocal" | |
1702 | self."pyzmq" |
|
1759 | self."pyzmq" |
@@ -32,6 +32,11 b' pkgs.stdenv.mkDerivation {' | |||||
32 | # We need postgresql to be around |
|
32 | # We need postgresql to be around | |
33 | pkgs.postgresql |
|
33 | pkgs.postgresql | |
34 |
|
34 | |||
|
35 | # we need the below for saml | |||
|
36 | pkgs.libxml2 | |||
|
37 | pkgs.libxslt | |||
|
38 | pkgs.xmlsec | |||
|
39 | ||||
35 | # Curl is needed for pycurl |
|
40 | # Curl is needed for pycurl | |
36 | pkgs.curl |
|
41 | pkgs.curl | |
37 | ]; |
|
42 | ]; |
General Comments 0
You need to be logged in to leave comments.
Login now