Merge pull request #34553 from NixOS/python-unstable

Python package updates

authored by Frederik Rietdijk and committed by GitHub c1d79509 34b7ea6d

+538 -424
+11 -7
pkgs/applications/science/spyder/default.nix
··· 1 { stdenv, fetchPypi, unzip, buildPythonApplication, makeDesktopItem 2 # mandatory 3 - , qtpy, numpydoc, qtconsole, qtawesome, jedi, pycodestyle, psutil 4 - , pyflakes, rope, sphinx, nbconvert, mccabe 5 # optional 6 , numpy ? null, scipy ? null, matplotlib ? null 7 # optional ··· 10 11 buildPythonApplication rec { 12 pname = "spyder"; 13 - version = "3.2.4"; 14 - namePrefix = ""; 15 16 src = fetchPypi { 17 inherit pname version; 18 - sha256 = "028hg71gfq2yrplwhhl7hl4rbwji1l0zxzghblwmb0i443ki10v3"; 19 }; 20 21 propagatedBuildInputs = [ 22 - jedi pycodestyle psutil qtpy pyflakes rope numpy scipy matplotlib pylint 23 - numpydoc qtconsole qtawesome nbconvert mccabe 24 ]; 25 26 # There is no test for spyder
··· 1 { stdenv, fetchPypi, unzip, buildPythonApplication, makeDesktopItem 2 # mandatory 3 + , numpydoc, qtconsole, qtawesome, jedi, pycodestyle, psutil 4 + , pyflakes, rope, sphinx, nbconvert, mccabe, pyopengl, cloudpickle 5 # optional 6 , numpy ? null, scipy ? null, matplotlib ? null 7 # optional ··· 10 11 buildPythonApplication rec { 12 pname = "spyder"; 13 + version = "3.2.6"; 14 15 src = fetchPypi { 16 inherit pname version; 17 + sha256 = "87d6a4f5ee1aac4284461ee3584c3ade50cb53feb3fe35abebfdfb9be18c526a"; 18 }; 19 20 + # Somehow setuptools can't find pyqt5. Maybe because the dist-info folder is missing? 21 + postPatch = '' 22 + substituteInPlace setup.py --replace 'pyqt5;python_version>="3"' ' ' 23 + ''; 24 + 25 propagatedBuildInputs = [ 26 + jedi pycodestyle psutil pyflakes rope numpy scipy matplotlib pylint 27 + numpydoc qtconsole qtawesome nbconvert mccabe pyopengl cloudpickle 28 ]; 29 30 # There is no test for spyder
+2 -2
pkgs/development/python-modules/adal/default.nix
··· 3 4 buildPythonPackage rec { 5 pname = "adal"; 6 - version = "0.4.7"; 7 name = "${pname}-${version}"; 8 9 src = fetchPypi { 10 inherit pname version; 11 - sha256 = "114046ac85d0054791c21b00922f26286822bc6f2ba3716db42e7e57f762ef20"; 12 }; 13 14 propagatedBuildInputs = [ requests pyjwt dateutil ];
··· 3 4 buildPythonPackage rec { 5 pname = "adal"; 6 + version = "0.5.0"; 7 name = "${pname}-${version}"; 8 9 src = fetchPypi { 10 inherit pname version; 11 + sha256 = "120821f72ca9d59a7c7197fc14d0e27448ff8d331fae230f92d713b9b5c721f7"; 12 }; 13 14 propagatedBuildInputs = [ requests pyjwt dateutil ];
+2 -2
pkgs/development/python-modules/agate-excel/default.nix
··· 3 buildPythonPackage rec { 4 name = "${pname}-${version}"; 5 pname = "agate-excel"; 6 - version = "0.2.1"; 7 8 src = fetchPypi { 9 inherit pname version; 10 - sha256 = "1d28s01a0a8n8rdrd78w88cqgl3lawzy38h9afwm0iks618i0qn7"; 11 }; 12 13 propagatedBuildInputs = [ agate openpyxl xlrd ];
··· 3 buildPythonPackage rec { 4 name = "${pname}-${version}"; 5 pname = "agate-excel"; 6 + version = "0.2.2"; 7 8 src = fetchPypi { 9 inherit pname version; 10 + sha256 = "8923f71ee2b5b7b21e52fb314a769b28fb902f647534f5cbbb41991d8710f4c7"; 11 }; 12 13 propagatedBuildInputs = [ agate openpyxl xlrd ];
+2 -2
pkgs/development/python-modules/agate-sql/default.nix
··· 3 buildPythonPackage rec { 4 name = "${pname}-${version}"; 5 pname = "agate-sql"; 6 - version = "0.5.2"; 7 8 src = fetchPypi { 9 inherit pname version; 10 - sha256 = "0qlfwql6fnbs0r1rj7nxv4n5scad53b8dlh4qv6gyklvdk3wwn14"; 11 }; 12 13 propagatedBuildInputs = [ agate sqlalchemy ];
··· 3 buildPythonPackage rec { 4 name = "${pname}-${version}"; 5 pname = "agate-sql"; 6 + version = "0.5.3"; 7 8 src = fetchPypi { 9 inherit pname version; 10 + sha256 = "877b7b85adb5f0325455bba8d50a1623fa32af33680b554feca7c756a15ad9b4"; 11 }; 12 13 propagatedBuildInputs = [ agate sqlalchemy ];
+2 -2
pkgs/development/python-modules/ansicolor/default.nix
··· 2 3 buildPythonPackage rec { 4 pname = "ansicolor"; 5 - version = "0.2.4"; 6 name = "${pname}-${version}"; 7 8 src = fetchPypi { 9 inherit pname version; 10 - sha256 = "0zlkk9706xn5yshwzdn8xsfkim8iv44zsl6qjwg2f4gn62rqky1h"; 11 }; 12 13 meta = with stdenv.lib; {
··· 2 3 buildPythonPackage rec { 4 pname = "ansicolor"; 5 + version = "0.2.6"; 6 name = "${pname}-${version}"; 7 8 src = fetchPypi { 9 inherit pname version; 10 + sha256 = "d17e1b07b9dd7ded31699fbca53ae6cd373584f9b6dcbc124d1f321ebad31f1d"; 11 }; 12 13 meta = with stdenv.lib; {
+2 -2
pkgs/development/python-modules/asgiref/default.nix
··· 1 { stdenv, buildPythonPackage, fetchurl, six }: 2 buildPythonPackage rec { 3 - version = "2.1.0"; 4 pname = "asgiref"; 5 name = "${pname}-${version}"; 6 7 src = fetchurl { 8 url = "mirror://pypi/a/asgiref/${name}.tar.gz"; 9 - sha256 = "2bfd70fcc51df4036768b91d7b13524090dc8f366d79fa44ba2b0aeb47306344"; 10 }; 11 12 propagatedBuildInputs = [ six ];
··· 1 { stdenv, buildPythonPackage, fetchurl, six }: 2 buildPythonPackage rec { 3 + version = "2.1.1"; 4 pname = "asgiref"; 5 name = "${pname}-${version}"; 6 7 src = fetchurl { 8 url = "mirror://pypi/a/asgiref/${name}.tar.gz"; 9 + sha256 = "112828022d772925b47b22caf8108dadd3b26bb0af719eb01b2c3a807795429d"; 10 }; 11 12 propagatedBuildInputs = [ six ];
+2 -2
pkgs/development/python-modules/astroid/default.nix
··· 6 buildPythonPackage rec { 7 name = "${pname}-${version}"; 8 pname = "astroid"; 9 - version = "1.6.0"; 10 11 src = fetchPypi { 12 inherit pname version; 13 - sha256 = "71dadba2110008e2c03f9fde662ddd2053db3c0489d0e03c94e828a0399edd4f"; 14 }; 15 16 propagatedBuildInputs = [ logilab_common six lazy-object-proxy wrapt ]
··· 6 buildPythonPackage rec { 7 name = "${pname}-${version}"; 8 pname = "astroid"; 9 + version = "1.6.1"; 10 11 src = fetchPypi { 12 inherit pname version; 13 + sha256 = "f0a0e386dbca9f93ea9f3ea6f32b37a24720502b7baa9cb17c3976a680d43a06"; 14 }; 15 16 propagatedBuildInputs = [ logilab_common six lazy-object-proxy wrapt ]
+2 -2
pkgs/development/python-modules/autopep8/default.nix
··· 2 3 buildPythonPackage rec { 4 pname = "autopep8"; 5 - version = "1.3.3"; 6 name = "${pname}-${version}"; 7 8 src = fetchPypi { 9 inherit pname version; 10 - sha256 = "0c1gl648g2xnz3j0rsp71ld4i32zlglmqjvqf4q8r08jp3zpny7z"; 11 }; 12 13 propagatedBuildInputs = [ pycodestyle ];
··· 2 3 buildPythonPackage rec { 4 pname = "autopep8"; 5 + version = "1.3.4"; 6 name = "${pname}-${version}"; 7 8 src = fetchPypi { 9 inherit pname version; 10 + sha256 = "c7be71ab0cb2f50c9c22c82f0c9acaafc6f57492c3fbfee9790c415005c2b9a5"; 11 }; 12 13 propagatedBuildInputs = [ pycodestyle ];
+2 -2
pkgs/development/python-modules/botocore/default.nix
··· 12 buildPythonPackage rec { 13 name = "${pname}-${version}"; 14 pname = "botocore"; 15 - version = "1.8.33"; 16 17 src = fetchPypi { 18 inherit pname version; 19 - sha256 = "fa29ea54f26b1193682332d3b4cdde7aa79b4eaccb23f70e88672509c24546f4"; 20 }; 21 22 propagatedBuildInputs = [
··· 12 buildPythonPackage rec { 13 name = "${pname}-${version}"; 14 pname = "botocore"; 15 + version = "1.8.36"; 16 17 src = fetchPypi { 18 inherit pname version; 19 + sha256 = "b2c9e0fd6d14910f759a33c19f8315dddedbb3c5569472b7be7ceed4f001a675"; 20 }; 21 22 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/buildout-nix/default.nix
··· 2 3 buildPythonPackage rec { 4 pname = "zc.buildout"; 5 - version = "2.10.0"; 6 name = "${pname}-nix-${version}"; 7 8 src = fetchurl { 9 url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${pname}-${version}.tar.gz"; 10 - sha256 = "00wi0f6wpfl2gywr02x2yqvx6i1k0ll5w4lhdl0khijk4g7mk8dq"; 11 }; 12 13 patches = [ ./nix.patch ];
··· 2 3 buildPythonPackage rec { 4 pname = "zc.buildout"; 5 + version = "2.11.0"; 6 name = "${pname}-nix-${version}"; 7 8 src = fetchurl { 9 url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${pname}-${version}.tar.gz"; 10 + sha256 = "092b0a147d5fb4e79ee0afde665570f85738e714463854f9e4f7f38d0b27ea82"; 11 }; 12 13 patches = [ ./nix.patch ];
+2 -2
pkgs/development/python-modules/chainer/default.nix
··· 6 7 buildPythonPackage rec { 8 pname = "chainer"; 9 - version = "3.2.0"; 10 11 src = fetchPypi { 12 inherit pname version; 13 - sha256 = "0mbc8kwk7pvg03bf0j57a48gr6rsdg4lzmyj0dak8y2l4lmyskpw"; 14 }; 15 16 checkInputs = [
··· 6 7 buildPythonPackage rec { 8 pname = "chainer"; 9 + version = "3.3.0"; 10 11 src = fetchPypi { 12 inherit pname version; 13 + sha256 = "0669375e5b09d687781a37d6c025ee0a6015f575b4d2c70a2ad09c33b8228f86"; 14 }; 15 16 checkInputs = [
+2 -2
pkgs/development/python-modules/channels/default.nix
··· 4 buildPythonPackage rec { 5 pname = "channels"; 6 name = "${pname}-${version}"; 7 - version = "1.1.8"; 8 9 src = fetchPypi { 10 inherit pname version; 11 - sha256 = "0gsy3hwn1vd709jkw8ay44qrm6aw7qggr312z8xwzq0x4ihjda02"; 12 }; 13 14 # Files are missing in the distribution
··· 4 buildPythonPackage rec { 5 pname = "channels"; 6 name = "${pname}-${version}"; 7 + version = "2.0.0"; 8 9 src = fetchPypi { 10 inherit pname version; 11 + sha256 = "c365492b90bd936c763e06cd76bda96cd3e70e5a5d2a196c25754e0c1d8da85a"; 12 }; 13 14 # Files are missing in the distribution
+2 -2
pkgs/development/python-modules/click-threading/default.nix
··· 9 10 buildPythonPackage rec { 11 pname = "click-threading"; 12 - version = "0.4.2"; 13 14 src = fetchPypi { 15 inherit pname version; 16 - sha256 = "400b0bb63d9096b6bf2806efaf742a1cc8b6c88e0484f0afe7d7a7f0e9870609"; 17 }; 18 19 checkInputs = [ pytest ];
··· 9 10 buildPythonPackage rec { 11 pname = "click-threading"; 12 + version = "0.4.4"; 13 14 src = fetchPypi { 15 inherit pname version; 16 + sha256 = "b2b0fada5bf184b56afaccc99d0d2548d8ab07feb2e95e29e490f6b99c605de7"; 17 }; 18 19 checkInputs = [ pytest ];
+67
pkgs/development/python-modules/cryptography/default.nix
···
··· 1 + { stdenv 2 + , buildPythonPackage 3 + , fetchPypi 4 + , openssl 5 + , cryptography_vectors 6 + , darwin 7 + , idna 8 + , asn1crypto 9 + , packaging 10 + , six 11 + , pythonOlder 12 + , enum34 13 + , ipaddress 14 + , isPyPy 15 + , cffi 16 + , pytest 17 + , pretend 18 + , iso8601 19 + , pytz 20 + , hypothesis 21 + }: 22 + 23 + let 24 + version = "2.1.4"; 25 + in assert version == cryptography_vectors.version; buildPythonPackage rec { 26 + # also bump cryptography_vectors 27 + pname = "cryptography"; 28 + inherit version; 29 + 30 + src = fetchPypi { 31 + inherit pname version; 32 + sha256 = "e4d967371c5b6b2e67855066471d844c5d52d210c36c28d49a8507b96e2c5291"; 33 + }; 34 + 35 + outputs = [ "out" "dev" ]; 36 + 37 + buildInputs = [ openssl cryptography_vectors ] 38 + ++ stdenv.lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Security; 39 + propagatedBuildInputs = [ 40 + idna 41 + asn1crypto 42 + packaging 43 + six 44 + ] ++ stdenv.lib.optional (pythonOlder "3.4") enum34 45 + ++ stdenv.lib.optional (pythonOlder "3.3") ipaddress 46 + ++ stdenv.lib.optional (!isPyPy) cffi; 47 + 48 + checkInputs = [ 49 + pytest 50 + pretend 51 + iso8601 52 + pytz 53 + hypothesis 54 + ]; 55 + 56 + # The test assumes that if we're on Sierra or higher, that we use `getentropy`, but for binary 57 + # compatibility with pre-Sierra for binary caches, we hide that symbol so the library doesn't 58 + # use it. This boils down to them checking compatibility with `getentropy` in two different places, 59 + # so let's neuter the second test. 60 + postPatch = '' 61 + substituteInPlace ./tests/hazmat/backends/test_openssl.py --replace '"16.0"' '"99.0"' 62 + ''; 63 + 64 + # IOKit's dependencies are inconsistent between OSX versions, so this is the best we 65 + # can do until nix 1.11's release 66 + __impureHostDeps = [ "/usr/lib" ]; 67 + }
+18
pkgs/development/python-modules/cryptography_vectors/default.nix
···
··· 1 + { buildPythonPackage 2 + , fetchPypi 3 + , cryptography 4 + }: 5 + 6 + buildPythonPackage rec { 7 + # also bump cryptography 8 + pname = "cryptography_vectors"; 9 + version = "2.1.4"; 10 + 11 + src = fetchPypi { 12 + inherit pname version; 13 + sha256 = "78c4b4f3f84853ea5d038e2f53d355229dd8119fe9cf949c3e497c85c760a5ca"; 14 + }; 15 + 16 + # No tests included 17 + doCheck = false; 18 + }
+2 -2
pkgs/development/python-modules/cupy/default.nix
··· 6 7 buildPythonPackage rec { 8 pname = "cupy"; 9 - version = "2.2.0"; 10 11 src = fetchPypi { 12 inherit pname version; 13 - sha256 = "0si0ri8azxvxh3lpm4l4g60jf4nwzibi53yldbdbzb1svlqq060r"; 14 }; 15 16 checkInputs = [
··· 6 7 buildPythonPackage rec { 8 pname = "cupy"; 9 + version = "2.3.0"; 10 11 src = fetchPypi { 12 inherit pname version; 13 + sha256 = "7426f6332cb01513d2a6a687792dfa17c678ff64dd1b19b04559ddd5672c833f"; 14 }; 15 16 checkInputs = [
+2 -2
pkgs/development/python-modules/daphne/default.nix
··· 4 buildPythonPackage rec { 5 pname = "daphne"; 6 name = "${pname}-${version}"; 7 - version = "1.4.2"; 8 9 src = fetchPypi { 10 inherit pname version; 11 - sha256 = "302725f223853b05688f28c361e050f8db9568b1ce27340c76272c26b49e6d72"; 12 }; 13 14 buildInputs = [ hypothesis ];
··· 4 buildPythonPackage rec { 5 pname = "daphne"; 6 name = "${pname}-${version}"; 7 + version = "2.0.0"; 8 9 src = fetchPypi { 10 inherit pname version; 11 + sha256 = "ecd43a2dd889fb74e16bf8b7f67c076c4ec1b36229ce782272e46c50d56174dd"; 12 }; 13 14 buildInputs = [ hypothesis ];
+23
pkgs/development/python-modules/dicttoxml/default.nix
···
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + }: 5 + 6 + buildPythonPackage rec { 7 + pname = "dicttoxml"; 8 + version = "1.7.4"; 9 + 10 + src = fetchPypi { 11 + inherit pname version; 12 + sha256 = "ea44cc4ec6c0f85098c57a431a1ee891b3549347b07b7414c8a24611ecf37e45"; 13 + }; 14 + 15 + # No tests in archive 16 + doCheck = false; 17 + 18 + meta = { 19 + description = "Converts a Python dictionary or other native data type into a valid XML string"; 20 + homepage = https://github.com/quandyfactory/dicttoxml; 21 + license = lib.licenses.gpl2; 22 + }; 23 + }
+2 -2
pkgs/development/python-modules/django-polymorphic/default.nix
··· 2 3 buildPythonPackage rec { 4 pname = "django-polymorphic"; 5 - version = "1.3"; 6 name = "${pname}-${version}"; 7 8 src = fetchPypi { 9 inherit pname version; 10 - sha256 = "8737b465ebf5fad772b4c52272189c352f5904f468d298584a3469187e3207ad"; 11 }; 12 13 checkInputs = [ django ];
··· 2 3 buildPythonPackage rec { 4 pname = "django-polymorphic"; 5 + version = "2.0"; 6 name = "${pname}-${version}"; 7 8 src = fetchPypi { 9 inherit pname version; 10 + sha256 = "78f666149ea10cdda08ac6c25ddf4b4e582ee380be87e7968bfed008ef39dfa5"; 11 }; 12 13 checkInputs = [ django ];
+2 -2
pkgs/development/python-modules/docker/default.nix
··· 3 , ipaddress, backports_ssl_match_hostname, docker_pycreds 4 }: 5 buildPythonPackage rec { 6 - version = "2.7.0"; 7 pname = "docker"; 8 name = "${pname}-${version}"; 9 10 src = fetchurl { 11 url = "mirror://pypi/d/docker/${name}.tar.gz"; 12 - sha256 = "144248308e8ea31c4863c6d74e1b55daf97cc190b61d0fe7b7313ab920d6a76c"; 13 }; 14 15 propagatedBuildInputs = [
··· 3 , ipaddress, backports_ssl_match_hostname, docker_pycreds 4 }: 5 buildPythonPackage rec { 6 + version = "3.0.0"; 7 pname = "docker"; 8 name = "${pname}-${version}"; 9 10 src = fetchurl { 11 url = "mirror://pypi/d/docker/${name}.tar.gz"; 12 + sha256 = "4a1083656c6ac7615c19094d9b5e052f36e38d0b07e63d7e506c9b5b32c3abe2"; 13 }; 14 15 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/edward/default.nix
··· 3 4 buildPythonPackage rec { 5 pname = "edward"; 6 - version = "1.3.4"; 7 name = "${pname}-${version}"; 8 9 disabled = !(isPy27 || pythonAtLeast "3.4"); 10 11 src = fetchPypi { 12 inherit pname version; 13 - sha256 = "10d6d7886235f4b9fa4ba401daef87c27937a04d2763f507643d730e51de37b6"; 14 }; 15 16 # disabled for now due to Tensorflow trying to create files in $HOME:
··· 3 4 buildPythonPackage rec { 5 pname = "edward"; 6 + version = "1.3.5"; 7 name = "${pname}-${version}"; 8 9 disabled = !(isPy27 || pythonAtLeast "3.4"); 10 11 src = fetchPypi { 12 inherit pname version; 13 + sha256 = "3818b39e77c26fc1a37767a74fdd5e7d02877d75ed901ead2f40bd03baaa109f"; 14 }; 15 16 # disabled for now due to Tensorflow trying to create files in $HOME:
+2 -2
pkgs/development/python-modules/filelock/default.nix
··· 2 3 buildPythonPackage rec { 4 pname = "filelock"; 5 - version = "3.0.0"; 6 7 src = fetchPypi { 8 inherit pname version; 9 - sha256 = "b3ad481724adfb2280773edd95ce501e497e88fa4489c6e41e637ab3fd9a456c"; 10 }; 11 12 meta = with stdenv.lib; {
··· 2 3 buildPythonPackage rec { 4 pname = "filelock"; 5 + version = "3.0.4"; 6 7 src = fetchPypi { 8 inherit pname version; 9 + sha256 = "011327d4ed939693a5b28c0fdf2fd9bda1f68614c1d6d0643a89382ce9843a71"; 10 }; 11 12 meta = with stdenv.lib; {
+2 -2
pkgs/development/python-modules/ftfy/default.nix
··· 11 name = "${pname}-${version}"; 12 pname = "ftfy"; 13 # latest is 5.1.1, buy spaCy requires 4.4.3 14 - version = "5.2.0"; 15 16 src = fetchPypi { 17 inherit pname version; 18 - sha256 = "b9f84a1437f68ad0bb964fd9da9f6b88d090113ec9e78f290f6d6d0221468e38"; 19 }; 20 21 propagatedBuildInputs = [ html5lib wcwidth];
··· 11 name = "${pname}-${version}"; 12 pname = "ftfy"; 13 # latest is 5.1.1, buy spaCy requires 4.4.3 14 + version = "5.3.0"; 15 16 src = fetchPypi { 17 inherit pname version; 18 + sha256 = "0ba702d5138f9b35df32b55920c9466208608108f1f3d5de1a68c17e3d68cb7f"; 19 }; 20 21 propagatedBuildInputs = [ html5lib wcwidth];
+2 -2
pkgs/development/python-modules/gensim/default.nix
··· 13 buildPythonPackage rec { 14 pname = "gensim"; 15 name = "${pname}-${version}"; 16 - version = "3.2.0"; 17 src = fetchPypi { 18 inherit pname version; 19 - sha256 = "db00b68c6567ba0598d400b917c889e8801adf249170ce0a80ec38187d1b0797"; 20 }; 21 22 propagatedBuildInputs = [ smart_open numpy six scipy
··· 13 buildPythonPackage rec { 14 pname = "gensim"; 15 name = "${pname}-${version}"; 16 + version = "3.3.0"; 17 src = fetchPypi { 18 inherit pname version; 19 + sha256 = "6b2a813887583e63c8cedd26a91782e5f1e416a11f85394a92ae3ff908e0be03"; 20 }; 21 22 propagatedBuildInputs = [ smart_open numpy six scipy
+2 -2
pkgs/development/python-modules/google_cloud_speech/default.nix
··· 3 4 buildPythonPackage rec { 5 pname = "google-cloud-speech"; 6 - version = "0.30.0"; 7 8 src = fetchPypi { 9 inherit pname version; 10 - sha256 = "0ckigh6bfzhflhllqdnfygm8w0r6ncp0myf1midifx7sn880g4pa"; 11 }; 12 13 propagatedBuildInputs = [ setuptools google_api_core google_gax google_cloud_core ];
··· 3 4 buildPythonPackage rec { 5 pname = "google-cloud-speech"; 6 + version = "0.31.0"; 7 8 src = fetchPypi { 9 inherit pname version; 10 + sha256 = "b0f6a542165750e42b1c92e6c465e8dc35c38d138ae7f08174971ab9b0df2a71"; 11 }; 12 13 propagatedBuildInputs = [ setuptools google_api_core google_gax google_cloud_core ];
+2 -2
pkgs/development/python-modules/grpcio/default.nix
··· 3 4 buildPythonPackage rec { 5 pname = "grpcio"; 6 - version = "1.8.4"; 7 8 src = fetchPypi { 9 inherit pname version; 10 - sha256 = "88d87aab9c7889b3ab29dd74aac1a5493ed78b9bf5afba1c069c9dd5531f951d"; 11 }; 12 13 propagatedBuildInputs = [ six protobuf ]
··· 3 4 buildPythonPackage rec { 5 pname = "grpcio"; 6 + version = "1.9.0"; 7 8 src = fetchPypi { 9 inherit pname version; 10 + sha256 = "b61d3a7c45aa08f15dfa735a6a8282b5097be91ff36ad347594d3945ffc12181"; 11 }; 12 13 propagatedBuildInputs = [ six protobuf ]
+2 -2
pkgs/development/python-modules/hglib/default.nix
··· 2 3 buildPythonPackage rec { 4 pname = "python-hglib"; 5 - version = "2.4"; 6 name = "${pname}-${version}"; 7 8 src = fetchPypi { 9 inherit pname version; 10 - sha256 = "0qll9cc9ndqizby00gxdcf6d0cysdhjkr8670a4ffrk55bcnwgb9"; 11 }; 12 13 checkInputs = [ nose ];
··· 2 3 buildPythonPackage rec { 4 pname = "python-hglib"; 5 + version = "2.5"; 6 name = "${pname}-${version}"; 7 8 src = fetchPypi { 9 inherit pname version; 10 + sha256 = "fee180bb6796e5d2d25158b2d3c9f048648e427dd28b23a58d369adb14dd67cb"; 11 }; 12 13 checkInputs = [ nose ];
+2 -2
pkgs/development/python-modules/ipywidgets/default.nix
··· 14 15 buildPythonPackage rec { 16 pname = "ipywidgets"; 17 - version = "7.1.0"; 18 name = "${pname}-${version}"; 19 20 src = fetchPypi { 21 inherit pname version; 22 - sha256 = "3e2be7dea4f97c9a4df71ef065cad9f2e420dd901127bf7cb690fb56d2b34ea3"; 23 }; 24 25 # Tests are not distributed
··· 14 15 buildPythonPackage rec { 16 pname = "ipywidgets"; 17 + version = "7.1.1"; 18 name = "${pname}-${version}"; 19 20 src = fetchPypi { 21 inherit pname version; 22 + sha256 = "69e8c444e99601e6f9b9e9e596c87c19665fc73c2dd05cd507c94f35fba2959d"; 23 }; 24 25 # Tests are not distributed
+4 -3
pkgs/development/python-modules/jupyter_client/default.nix
··· 11 , ipython 12 , mock 13 , pytest 14 }: 15 16 buildPythonPackage rec { 17 pname = "jupyter_client"; 18 - version = "5.2.1"; 19 20 src = fetchPypi { 21 inherit pname version; 22 - sha256 = "462790d46b244f0a631ea5e3cd5cdbad6874d5d24cc0ff512deb7c16cdf8653d"; 23 }; 24 25 checkInputs = [ ipykernel ipython mock pytest ]; 26 - propagatedBuildInputs = [traitlets jupyter_core pyzmq dateutil] ++ lib.optional isPyPy py; 27 28 checkPhase = '' 29 py.test
··· 11 , ipython 12 , mock 13 , pytest 14 + , tornado 15 }: 16 17 buildPythonPackage rec { 18 pname = "jupyter_client"; 19 + version = "5.2.2"; 20 21 src = fetchPypi { 22 inherit pname version; 23 + sha256 = "83d5e23132f0d8f79ccd3939f53fb9fa97f88a896a85114dc48d0e86909b06c4"; 24 }; 25 26 checkInputs = [ ipykernel ipython mock pytest ]; 27 + propagatedBuildInputs = [traitlets jupyter_core pyzmq dateutil tornado ] ++ lib.optional isPyPy py; 28 29 checkPhase = '' 30 py.test
+2 -2
pkgs/development/python-modules/keyring/default.nix
··· 6 buildPythonPackage rec { 7 name = "${pname}-${version}"; 8 pname = "keyring"; 9 - version = "10.6.0"; 10 11 src = fetchPypi { 12 inherit pname version; 13 - sha256 = "69c2b69d66a0db1165c6875c1833c52f4dc62179959692b30c8c4a4b8390d895"; 14 }; 15 16 buildInputs = [
··· 6 buildPythonPackage rec { 7 name = "${pname}-${version}"; 8 pname = "keyring"; 9 + version = "11.0.0"; 10 11 src = fetchPypi { 12 inherit pname version; 13 + sha256 = "b4607520a7c97be96be4ddc00f4b9dac65f47a45af4b4cd13ed5a8879641d646"; 14 }; 15 16 buildInputs = [
+2 -2
pkgs/development/python-modules/limits/default.nix
··· 2 3 buildPythonPackage rec { 4 pname = "limits"; 5 - version = "1.2.1"; 6 7 src = fetchPypi { 8 inherit pname version; 9 - sha256 = "0dfbrmqixsvhvzqgd4s8rfj933k1w5q4bm23pp9zyp70xlb0mfmd"; 10 }; 11 12 propagatedBuildInputs = [ six ];
··· 2 3 buildPythonPackage rec { 4 pname = "limits"; 5 + version = "1.3"; 6 7 src = fetchPypi { 8 inherit pname version; 9 + sha256 = "a017b8d9e9da6761f4574642149c337f8f540d4edfe573fb91ad2c4001a2bc76"; 10 }; 11 12 propagatedBuildInputs = [ six ];
+2 -2
pkgs/development/python-modules/magic-wormhole/default.nix
··· 22 23 buildPythonPackage rec { 24 pname = "magic-wormhole"; 25 - version = "0.10.3"; 26 name = "${pname}-${version}"; 27 28 src = fetchPypi { 29 inherit pname version; 30 - sha256 = "48465d58f9c0d729dc586627cf280830e7ed59f9e7999946ae1d763c6b8db999"; 31 }; 32 33 checkInputs = [ mock ];
··· 22 23 buildPythonPackage rec { 24 pname = "magic-wormhole"; 25 + version = "0.10.4"; 26 name = "${pname}-${version}"; 27 28 src = fetchPypi { 29 inherit pname version; 30 + sha256 = "cd3105975e71bc6437848c7fc9f0b23ef0e0c625c8b19ec66a5ddc727c6d11ae"; 31 }; 32 33 checkInputs = [ mock ];
+2 -2
pkgs/development/python-modules/matplotlib/default.nix
··· 21 assert enableQt -> pyqt4 != null; 22 23 buildPythonPackage rec { 24 - version = "2.1.1"; 25 pname = "matplotlib"; 26 name = "${pname}-${version}"; 27 28 src = fetchurl { 29 url = "mirror://pypi/m/matplotlib/${name}.tar.gz"; 30 - sha256 = "659f5e1aa0e0f01488c61eff47560c43b8be511c6a29293d7f3896ae17bd8b23"; 31 }; 32 33 NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin "-I${libcxx}/include/c++/v1";
··· 21 assert enableQt -> pyqt4 != null; 22 23 buildPythonPackage rec { 24 + version = "2.1.2"; 25 pname = "matplotlib"; 26 name = "${pname}-${version}"; 27 28 src = fetchurl { 29 url = "mirror://pypi/m/matplotlib/${name}.tar.gz"; 30 + sha256 = "725a3f12739d133adfa381e1b33bd70c6f64db453bfc536e148824816e568894"; 31 }; 32 33 NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin "-I${libcxx}/include/c++/v1";
+2 -2
pkgs/development/python-modules/nbxmpp/default.nix
··· 2 3 buildPythonPackage rec { 4 pname = "nbxmpp"; 5 - version = "0.6.2"; 6 7 src = fetchPypi { 8 inherit pname version; 9 - sha256 = "10bfb12b083a7509779298c31b4b61e2ed7e78d1960cbcfb3de8d38f3b830991"; 10 }; 11 12 meta = with stdenv.lib; {
··· 2 3 buildPythonPackage rec { 4 pname = "nbxmpp"; 5 + version = "0.6.3"; 6 7 src = fetchPypi { 8 inherit pname version; 9 + sha256 = "dd66e701a4856e3cace8f4865837ccc9bcfcdb286df01f01aa19531f5d834a83"; 10 }; 11 12 meta = with stdenv.lib; {
+2 -2
pkgs/development/python-modules/nipype/default.nix
··· 29 30 buildPythonPackage rec { 31 pname = "nipype"; 32 - version = "0.14.0"; 33 34 src = fetchPypi { 35 inherit pname version; 36 - sha256 = "0airdrh93vwmbfkqxp5cqfzm0zzqcvjnvphv3zhg197y39xxpl1k"; 37 }; 38 39 doCheck = false; # fails with TypeError: None is not callable
··· 29 30 buildPythonPackage rec { 31 pname = "nipype"; 32 + version = "1.0.0"; 33 34 src = fetchPypi { 35 inherit pname version; 36 + sha256 = "4c14c6cae1f530f89d76fa8136d52488b1daf3a02179da65121b76eaf4a6f0ea"; 37 }; 38 39 doCheck = false; # fails with TypeError: None is not callable
+2 -2
pkgs/development/python-modules/notebook/default.nix
··· 23 24 buildPythonPackage rec { 25 pname = "notebook"; 26 - version = "5.3.1"; 27 28 src = fetchPypi { 29 inherit pname version; 30 - sha256 = "12vk3shylx61whdchxbg71mdlwiw2l31vl227sqwpb0p67bbw2rq"; 31 }; 32 33 LC_ALL = "en_US.utf8";
··· 23 24 buildPythonPackage rec { 25 pname = "notebook"; 26 + version = "5.4.0"; 27 28 src = fetchPypi { 29 inherit pname version; 30 + sha256 = "dd431fad9bdd25aa9ff8265da096ef770475e21bf1d327982611a7de5cd904ca"; 31 }; 32 33 LC_ALL = "en_US.utf8";
+2 -2
pkgs/development/python-modules/olefile/default.nix
··· 1 { stdenv, buildPythonPackage, fetchPypi }: 2 buildPythonPackage rec { 3 pname = "olefile"; 4 - version = "0.44"; 5 name = "${pname}-${version}"; 6 7 src = fetchPypi { 8 inherit pname version; 9 extension = "zip"; 10 - sha256 = "1bbk1xplmrhymqpk6rkb15sg7v9qfih7zh23p6g2fxxas06cmwk1"; 11 }; 12 13 meta = with stdenv.lib; {
··· 1 { stdenv, buildPythonPackage, fetchPypi }: 2 buildPythonPackage rec { 3 pname = "olefile"; 4 + version = "0.45.1"; 5 name = "${pname}-${version}"; 6 7 src = fetchPypi { 8 inherit pname version; 9 extension = "zip"; 10 + sha256 = "2b6575f5290de8ab1086f8c5490591f7e0885af682c7c1793bdaf6e64078d385"; 11 }; 12 13 meta = with stdenv.lib; {
+2 -2
pkgs/development/python-modules/openpyxl/default.nix
··· 9 10 buildPythonPackage rec { 11 pname = "openpyxl"; 12 - version = "2.4.9"; 13 name = "${pname}-${version}"; 14 15 src = fetchPypi { 16 inherit pname version; 17 - sha256 = "95e007f4d121f4fd73f39a6d74a883c75e9fa9d96de91d43c1641c103c3a9b18"; 18 }; 19 20 checkInputs = [ pytest ];
··· 9 10 buildPythonPackage rec { 11 pname = "openpyxl"; 12 + version = "2.5.0"; 13 name = "${pname}-${version}"; 14 15 src = fetchPypi { 16 inherit pname version; 17 + sha256 = "0ff2e0c2c85cbf42e82dd223e7f2401a62dc73c18cd9e5dd7763dc6c8014ebde"; 18 }; 19 20 checkInputs = [ pytest ];
+27
pkgs/development/python-modules/ovh/default.nix
···
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , requests 5 + , nose 6 + , mock 7 + }: 8 + 9 + buildPythonPackage rec { 10 + pname = "ovh"; 11 + version = "0.4.8"; 12 + 13 + # Needs yanc 14 + doCheck = false; 15 + 16 + src = fetchPypi { 17 + inherit pname version; 18 + sha256 = "79fa4bdc61b9953af867676a9558d9e792b9fde568c980efe848a40565a217cd"; 19 + }; 20 + 21 + meta = { 22 + description = "Thin wrapper around OVH's APIs"; 23 + homepage = http://api.ovh.com/; 24 + license = lib.licenses.bsd2; 25 + maintainers = [ lib.maintainers.makefu ]; 26 + }; 27 + }
+38
pkgs/development/python-modules/packet-python/default.nix
···
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , requests 5 + , python 6 + , fetchpatch 7 + }: 8 + 9 + buildPythonPackage rec { 10 + pname = "packet-python"; 11 + version = "1.37.1"; 12 + src = fetchPypi { 13 + inherit pname version; 14 + sha256 = "316941d2473c0f42ac17ac89e9aa63a023bb96f35cf8eafe9e091ea424892778"; 15 + }; 16 + propagatedBuildInputs = [ requests ]; 17 + 18 + checkPhase = '' 19 + ${python.interpreter} -m unittest discover -s test 20 + ''; 21 + 22 + patches = [ 23 + (fetchpatch { 24 + url = https://github.com/packethost/packet-python/commit/361ad0c60d0bfce2a992eefd17e917f9dcf36400.patch; 25 + sha256 = "1cmzyq0302y4cqmim6arnvn8n620qysq458g2w5aq4zj1vz1q9g1"; 26 + }) 27 + ]; 28 + 29 + # Not all test files are included in archive 30 + doCheck = false; 31 + 32 + meta = { 33 + description = "A Python client for the Packet API."; 34 + homepage = "https://github.com/packethost/packet-python"; 35 + license = lib.licenses.lgpl3; 36 + maintainers = with lib.maintainers; [ dipinhora ]; 37 + }; 38 + }
+2 -2
pkgs/development/python-modules/pecan/default.nix
··· 17 buildPythonPackage rec { 18 name = "${pname}-${version}"; 19 pname = "pecan"; 20 - version = "1.2.1"; 21 22 patches = [ 23 ./python36_test_fix.patch ··· 25 26 src = fetchPypi { 27 inherit pname version; 28 - sha256 = "0ikc32rd2hr8j2jxc0mllvdjvxydx3fwfp3z8sdxmkzdkixlb5cd"; 29 }; 30 31 propagatedBuildInputs = [ singledispatch logutils ];
··· 17 buildPythonPackage rec { 18 name = "${pname}-${version}"; 19 pname = "pecan"; 20 + version = "1.3.2"; 21 22 patches = [ 23 ./python36_test_fix.patch ··· 25 26 src = fetchPypi { 27 inherit pname version; 28 + sha256 = "24f06cf88a488b75f433e62b33c1c97e4575d0cd91eec9eec841a81cecfd6de3"; 29 }; 30 31 propagatedBuildInputs = [ singledispatch logutils ];
+2 -2
pkgs/development/python-modules/pendulum/default.nix
··· 2 3 buildPythonPackage rec { 4 pname = "pendulum"; 5 - version = "1.3.2"; 6 7 src = fetchPypi { 8 inherit pname version; 9 - sha256 = "1j6hdsdhhw4d6fy9byr0vyxqnb53ap8bh2a0cibl7p0ks0zvb14j"; 10 }; 11 12 propagatedBuildInputs = [ dateutil pytzdata tzlocal ];
··· 2 3 buildPythonPackage rec { 4 pname = "pendulum"; 5 + version = "1.4.0"; 6 7 src = fetchPypi { 8 inherit pname version; 9 + sha256 = "e996c34fb101c9c6d88a839c19af74d7c067b92ed3371274efcf4d4b6dc160a6"; 10 }; 11 12 propagatedBuildInputs = [ dateutil pytzdata tzlocal ];
+2 -2
pkgs/development/python-modules/plotly/default.nix
··· 10 11 buildPythonPackage rec { 12 pname = "plotly"; 13 - version = "2.2.3"; 14 name = "${pname}-${version}"; 15 16 src = fetchPypi { 17 inherit pname version; 18 - sha256 = "dadd2263f1c0449b248fd3742a077d9594935921a9597529be76d6a841237ab0"; 19 }; 20 21 propagatedBuildInputs = [
··· 10 11 buildPythonPackage rec { 12 pname = "plotly"; 13 + version = "2.3.0"; 14 name = "${pname}-${version}"; 15 16 src = fetchPypi { 17 inherit pname version; 18 + sha256 = "95e72273699108f215886ab961dbf0890904d39583be39eabcd0788bc7ccf695"; 19 }; 20 21 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/pycryptodome/default.nix
··· 1 { stdenv, fetchurl, python, buildPythonPackage, gmp }: 2 3 buildPythonPackage rec { 4 - version = "3.4.7"; 5 pname = "pycryptodome"; 6 name = "${pname}-${version}"; 7 8 src = fetchurl { 9 url = "mirror://pypi/p/pycryptodome/${name}.tar.gz"; 10 - sha256 = "18d8dfe31bf0cb53d58694903e526be68f3cf48e6e3c6dfbbc1e7042b1693af7"; 11 }; 12 13 meta = {
··· 1 { stdenv, fetchurl, python, buildPythonPackage, gmp }: 2 3 buildPythonPackage rec { 4 + version = "3.4.9"; 5 pname = "pycryptodome"; 6 name = "${pname}-${version}"; 7 8 src = fetchurl { 9 url = "mirror://pypi/p/pycryptodome/${name}.tar.gz"; 10 + sha256 = "00cc7767c7bbe91f15a65a1b2ebe7a08002b8ae8221c1dcecc5c5c9ab6f79753"; 11 }; 12 13 meta = {
+2 -2
pkgs/development/python-modules/pycryptodomex/default.nix
··· 3 buildPythonPackage rec { 4 pname = "pycryptodomex"; 5 name = "${pname}-${version}"; 6 - version = "3.4.7"; 7 8 meta = { 9 description = "A self-contained cryptographic library for Python"; ··· 13 14 src = fetchPypi { 15 inherit pname version; 16 - sha256 = "52aa2e540d06d63636e4b5356957c520611e28a88386bad4d18980e4b00e0b5a"; 17 }; 18 }
··· 3 buildPythonPackage rec { 4 pname = "pycryptodomex"; 5 name = "${pname}-${version}"; 6 + version = "3.4.9"; 7 8 meta = { 9 description = "A self-contained cryptographic library for Python"; ··· 13 14 src = fetchPypi { 15 inherit pname version; 16 + sha256 = "d078b67be76ccafa8b7cc391e87151b80b0ef9bfbeee8a95d286e522cc7537f7"; 17 }; 18 }
+2 -2
pkgs/development/python-modules/pyemd/default.nix
··· 3 buildPythonPackage rec { 4 name = "${pname}-${version}"; 5 pname = "pyemd"; 6 - version = "0.4.4"; 7 8 src = fetchPypi { 9 inherit pname version; 10 - sha256 = "13y06y7r1697cv4r430g45fxs40i2yk9xn0dk9nqlrpddw3a0mr4"; 11 }; 12 13 propagatedBuildInputs = [ numpy ];
··· 3 buildPythonPackage rec { 4 name = "${pname}-${version}"; 5 pname = "pyemd"; 6 + version = "0.5.1"; 7 8 src = fetchPypi { 9 inherit pname version; 10 + sha256 = "fc81c2116f8573e559dfbb8d73e03d9f73c22d0770559f406516984302e07e70"; 11 }; 12 13 propagatedBuildInputs = [ numpy ];
+2 -2
pkgs/development/python-modules/pylint/default.nix
··· 4 buildPythonPackage rec { 5 name = "${pname}-${version}"; 6 pname = "pylint"; 7 - version = "1.8.1"; 8 9 src = fetchPypi { 10 inherit pname version; 11 - sha256 = "3035e44e37cd09919e9edad5573af01d7c6b9c52a0ebb4781185ae7ab690458b"; 12 }; 13 14 buildInputs = [ pytest pytestrunner mccabe configparser backports_functools_lru_cache ];
··· 4 buildPythonPackage rec { 5 name = "${pname}-${version}"; 6 pname = "pylint"; 7 + version = "1.8.2"; 8 9 src = fetchPypi { 10 inherit pname version; 11 + sha256 = "4fe3b99da7e789545327b75548cee6b511e4faa98afe268130fea1af4b5ec022"; 12 }; 13 14 buildInputs = [ pytest pytestrunner mccabe configparser backports_functools_lru_cache ];
+46
pkgs/development/python-modules/pyopenssl/default.nix
···
··· 1 + { stdenv 2 + , buildPythonPackage 3 + , fetchPypi 4 + , openssl 5 + , cryptography 6 + , pyasn1 7 + , idna 8 + , pytest 9 + , pretend 10 + , flaky 11 + , glibcLocales 12 + }: 13 + 14 + buildPythonPackage rec { 15 + pname = "pyOpenSSL"; 16 + version = "17.5.0"; 17 + 18 + src = fetchPypi { 19 + inherit pname version; 20 + sha256 = "2c10cfba46a52c0b0950118981d61e72c1e5b1aac451ca1bc77de1a679456773"; 21 + }; 22 + 23 + outputs = [ "out" "dev" ]; 24 + 25 + preCheck = '' 26 + sed -i 's/test_set_default_verify_paths/noop/' tests/test_ssl.py 27 + # https://github.com/pyca/pyopenssl/issues/692 28 + sed -i 's/test_fallback_default_verify_paths/noop/' tests/test_ssl.py 29 + ''; 30 + 31 + checkPhase = '' 32 + runHook preCheck 33 + export LANG="en_US.UTF-8" 34 + py.test 35 + runHook postCheck 36 + ''; 37 + 38 + # Seems to fail unpredictably on Darwin. See http://hydra.nixos.org/build/49877419/nixlog/1 39 + # for one example, but I've also seen ContextTests.test_set_verify_callback_exception fail. 40 + doCheck = !stdenv.isDarwin; 41 + 42 + buildInputs = [ openssl ]; 43 + propagatedBuildInputs = [ cryptography pyasn1 idna ]; 44 + 45 + checkInputs = [ pytest pretend flaky glibcLocales ]; 46 + }
+5 -6
pkgs/development/python-modules/pyqt/5.x.nix
··· 6 7 let 8 pname = "PyQt"; 9 - version = "5.9.2"; 10 11 inherit (pythonPackages) buildPythonPackage python dbus-python sip; 12 in buildPythonPackage { 13 pname = pname; 14 version = version; 15 format = "other"; 16 - name = pname + "-" + version; 17 18 meta = with lib; { 19 description = "Python bindings for Qt5"; ··· 25 26 src = fetchurl { 27 url = "mirror://sourceforge/pyqt/PyQt5/PyQt-${version}/PyQt5_gpl-${version}.tar.gz"; 28 - sha256 = "15439gxari6azbfql20ksz8h4gv23k3kfyjyr89h2yy9k32xm461"; 29 }; 30 31 - nativeBuildInputs = [ pkgconfig makeWrapper qmake ]; 32 33 buildInputs = [ 34 lndir qtbase qtsvg qtwebkit qtwebengine dbus_libs ··· 43 lndir ${dbus-python} $out 44 rm -rf "$out/nix-support" 45 46 - export PYTHONPATH=$PYTHONPATH:$out/lib/${python.libPrefix}/site-packages 47 48 substituteInPlace configure.py \ 49 - --replace 'install_dir=pydbusmoddir' "install_dir='$out/lib/${python.libPrefix}/site-packages/dbus/mainloop'" \ 50 --replace "ModuleMetadata(qmake_QT=['webkitwidgets'])" "ModuleMetadata(qmake_QT=['webkitwidgets', 'printsupport'])" 51 52 ${python.executable} configure.py -w \
··· 6 7 let 8 pname = "PyQt"; 9 + version = "5.10"; 10 11 inherit (pythonPackages) buildPythonPackage python dbus-python sip; 12 in buildPythonPackage { 13 pname = pname; 14 version = version; 15 format = "other"; 16 17 meta = with lib; { 18 description = "Python bindings for Qt5"; ··· 24 25 src = fetchurl { 26 url = "mirror://sourceforge/pyqt/PyQt5/PyQt-${version}/PyQt5_gpl-${version}.tar.gz"; 27 + sha256 = "0l2zy6b7bfjxmg4bb8yikg6i8iy2xdwmvk7knfmrzfpqbmkycbrl"; 28 }; 29 30 + nativeBuildInputs = [ pkgconfig qmake ]; 31 32 buildInputs = [ 33 lndir qtbase qtsvg qtwebkit qtwebengine dbus_libs ··· 42 lndir ${dbus-python} $out 43 rm -rf "$out/nix-support" 44 45 + export PYTHONPATH=$PYTHONPATH:$out/${python.sitePackages} 46 47 substituteInPlace configure.py \ 48 + --replace 'install_dir=pydbusmoddir' "install_dir='$out/${python.sitePackages}/dbus/mainloop'" \ 49 --replace "ModuleMetadata(qmake_QT=['webkitwidgets'])" "ModuleMetadata(qmake_QT=['webkitwidgets', 'printsupport'])" 50 51 ${python.executable} configure.py -w \
+2 -2
pkgs/development/python-modules/pytest/default.nix
··· 2 , setuptools_scm, setuptools, six, pluggy, funcsigs, isPy3k 3 }: 4 buildPythonPackage rec { 5 - version = "3.3.2"; 6 pname = "pytest"; 7 8 preCheck = '' ··· 12 13 src = fetchPypi { 14 inherit pname version; 15 - sha256 = "53548280ede7818f4dc2ad96608b9f08ae2cc2ca3874f2ceb6f97e3583f25bc4"; 16 }; 17 18 checkInputs = [ hypothesis ];
··· 2 , setuptools_scm, setuptools, six, pluggy, funcsigs, isPy3k 3 }: 4 buildPythonPackage rec { 5 + version = "3.4.0"; 6 pname = "pytest"; 7 8 preCheck = '' ··· 12 13 src = fetchPypi { 14 inherit pname version; 15 + sha256 = "6074ea3b9c999bd6d0df5fa9d12dd95ccd23550df2a582f5f5b848331d2e82ca"; 16 }; 17 18 checkInputs = [ hypothesis ];
+23
pkgs/development/python-modules/pytz/default.nix
···
··· 1 + { lib, buildPythonPackage, fetchPypi, python }: 2 + 3 + buildPythonPackage rec { 4 + pname = "pytz"; 5 + version = "2017.3"; 6 + 7 + src = fetchPypi { 8 + inherit pname version; 9 + extension = "zip"; 10 + sha256 = "fae4cffc040921b8a2d60c6cf0b5d662c1190fe54d718271db4eb17d44a185b7"; 11 + }; 12 + 13 + checkPhase = '' 14 + ${python.interpreter} -m unittest discover -s pytz/tests 15 + ''; 16 + 17 + meta = with lib; { 18 + description = "World timezone definitions, modern and historical"; 19 + homepage = "http://pythonhosted.org/pytz"; 20 + license = licenses.mit; 21 + maintainers = with maintainers; [ dotlambda ]; 22 + }; 23 + }
+2 -2
pkgs/development/python-modules/pytzdata/default.nix
··· 2 3 buildPythonPackage rec { 4 pname = "pytzdata"; 5 - version = "2017.3.1"; 6 7 src = fetchPypi { 8 inherit pname version; 9 - sha256 = "1wi3jh39zsa9iiyyhynhj7w5b2p9wdyd0ppavpsrmf3wxvr7cwz8"; 10 }; 11 12 # No tests
··· 2 3 buildPythonPackage rec { 4 pname = "pytzdata"; 5 + version = "2018.3"; 6 7 src = fetchPypi { 8 inherit pname version; 9 + sha256 = "4e2cceb54335cd6c28caea46b15cd592e2aec5e8b05b0241cbccfb1b23c02ae7"; 10 }; 11 12 # No tests
+20
pkgs/development/python-modules/pyyaml/default.nix
···
··· 1 + { lib, buildPythonPackage, fetchPypi, libyaml }: 2 + 3 + buildPythonPackage rec { 4 + pname = "PyYAML"; 5 + version = "3.12"; 6 + 7 + src = fetchPypi { 8 + inherit pname version; 9 + sha256 = "592766c6303207a20efc445587778322d7f73b161bd994f227adaa341ba212ab"; 10 + }; 11 + 12 + propagatedBuildInputs = [ libyaml ]; 13 + 14 + meta = with lib; { 15 + description = "The next generation YAML parser and emitter for Python"; 16 + homepage = https://github.com/yaml/pyyaml; 17 + license = licenses.mit; 18 + maintainers = with maintainers; [ dotlambda ]; 19 + }; 20 + }
+28
pkgs/development/python-modules/quantities/default.nix
···
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , numpy 5 + , python 6 + }: 7 + 8 + buildPythonPackage rec { 9 + pname = "quantities"; 10 + version = "0.12.1"; 11 + 12 + src = fetchPypi { 13 + inherit pname version; 14 + sha256 = "0a03e8511db603c57ca80dee851c43f08d0457f4d592bcac2e154570756cb934"; 15 + }; 16 + 17 + propagatedBuildInputs = [ numpy ]; 18 + 19 + checkPhase = '' 20 + ${python.interpreter} setup.py test -V 1 21 + ''; 22 + 23 + meta = { 24 + description = "Quantities is designed to handle arithmetic and"; 25 + homepage = http://python-quantities.readthedocs.io/; 26 + license = lib.licenses.bsd2; 27 + }; 28 + }
+2 -2
pkgs/development/python-modules/requestsexceptions/default.nix
··· 2 3 buildPythonPackage rec { 4 pname = "requestsexceptions"; 5 - version = "1.3.0"; 6 name = "${pname}-${version}"; 7 8 src = fetchPypi { 9 inherit pname version; 10 - sha256 = "0gim00vi7vfq16y8b9m1vpy01grqvrdrbh88jb98qx6n6sk1n54g"; 11 }; 12 13 propagatedBuildInputs = [ pbr ];
··· 2 3 buildPythonPackage rec { 4 pname = "requestsexceptions"; 5 + version = "1.4.0"; 6 name = "${pname}-${version}"; 7 8 src = fetchPypi { 9 inherit pname version; 10 + sha256 = "b095cbc77618f066d459a02b137b020c37da9f46d9b057704019c9f77dba3065"; 11 }; 12 13 propagatedBuildInputs = [ pbr ];
+2 -2
pkgs/development/python-modules/restview/default.nix
··· 10 buildPythonPackage rec { 11 pname = "restview"; 12 name = "${pname}-${version}"; 13 - version = "2.8.0"; 14 15 src = fetchPypi { 16 inherit pname version; 17 - sha256 = "5f6f1523228eab3269f59dd03ac560f7d370cd81df6fdbcb4914b5e6bd896a11"; 18 }; 19 20 propagatedBuildInputs = [ docutils readme_renderer pygments ];
··· 10 buildPythonPackage rec { 11 pname = "restview"; 12 name = "${pname}-${version}"; 13 + version = "2.8.1"; 14 15 src = fetchPypi { 16 inherit pname version; 17 + sha256 = "45320b4e52945d23b3f1aeacc7ff97a3b798204fe625f8b81ed5322326d5bcd1"; 18 }; 19 20 propagatedBuildInputs = [ docutils readme_renderer pygments ];
+2 -2
pkgs/development/python-modules/shapely/default.nix
··· 6 buildPythonPackage rec { 7 name = "${pname}-${version}"; 8 pname = "Shapely"; 9 - version = "1.6.3"; 10 11 src = fetchPypi { 12 inherit pname version; 13 - sha256 = "14152f111c7711fc6756fd538ec12fc8cdde7419f869b244922f71f61b2a6c6b"; 14 }; 15 16 buildInputs = [ geos glibcLocales cython ];
··· 6 buildPythonPackage rec { 7 name = "${pname}-${version}"; 8 pname = "Shapely"; 9 + version = "1.6.4.post1"; 10 11 src = fetchPypi { 12 inherit pname version; 13 + sha256 = "30df7572d311514802df8dc0e229d1660bc4cbdcf027a8281e79c5fc2fcf02f2"; 14 }; 15 16 buildInputs = [ geos glibcLocales cython ];
+21
pkgs/development/python-modules/simplegeneric/default.nix
···
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + }: 5 + 6 + buildPythonPackage rec { 7 + pname = "simplegeneric"; 8 + version = "0.8.1"; 9 + 10 + src = fetchPypi { 11 + inherit pname version; 12 + extension = "zip"; 13 + sha256 = "dc972e06094b9af5b855b3df4a646395e43d1c9d0d39ed345b7393560d0b9173"; 14 + }; 15 + 16 + meta = { 17 + description = "Simple generic functions"; 18 + homepage = http://cheeseshop.python.org/pypi/simplegeneric; 19 + license = lib.licenses.zpl21; 20 + }; 21 + }
+2 -2
pkgs/development/python-modules/sqlalchemy/default.nix
··· 11 buildPythonPackage rec { 12 pname = "SQLAlchemy"; 13 name = "${pname}-${version}"; 14 - version = "1.2.1"; 15 16 src = fetchPypi { 17 inherit pname version; 18 - sha256 = "9ede7070d6fd18f28058be88296ed67893e2637465516d6a596cd9afea97b154"; 19 }; 20 21 checkInputs = [
··· 11 buildPythonPackage rec { 12 pname = "SQLAlchemy"; 13 name = "${pname}-${version}"; 14 + version = "1.2.2"; 15 16 src = fetchPypi { 17 inherit pname version; 18 + sha256 = "64b4720f0a8e033db0154d3824f5bf677cf2797e11d44743cf0aebd2a0499d9d"; 19 }; 20 21 checkInputs = [
+2 -2
pkgs/development/python-modules/sybil/default.nix
··· 3 4 buildPythonApplication rec { 5 pname = "sybil"; 6 - version = "1.0.6"; 7 8 src = fetchPypi { 9 inherit pname version; 10 - sha256 = "5bd7dd09eff68cbec9062e6950124fadfaaccbc0f50b23c1037f4d70ae86f0f1"; 11 }; 12 13 checkInputs = [ pytest nose ];
··· 3 4 buildPythonApplication rec { 5 pname = "sybil"; 6 + version = "1.0.7"; 7 8 src = fetchPypi { 9 inherit pname version; 10 + sha256 = "86332553392f865403883e44695bd8d9d47fe3887c01e17591955237b8fd2d8f"; 11 }; 12 13 checkInputs = [ pytest nose ];
+34
pkgs/development/python-modules/sympy/default.nix
···
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , glibcLocales 5 + , mpmath 6 + }: 7 + 8 + buildPythonPackage rec { 9 + pname = "sympy"; 10 + version = "1.1.1"; 11 + 12 + src = fetchPypi { 13 + inherit pname version; 14 + sha256 = "ac5b57691bc43919dcc21167660a57cc51797c28a4301a6144eff07b751216a4"; 15 + }; 16 + 17 + checkInputs = [ glibcLocales ]; 18 + 19 + propagatedBuildInputs = [ mpmath ]; 20 + 21 + # Bunch of failures including transients. 22 + doCheck = false; 23 + 24 + preCheck = '' 25 + export LANG="en_US.UTF-8" 26 + ''; 27 + 28 + meta = { 29 + description = "A Python library for symbolic mathematics"; 30 + homepage = http://www.sympy.org/; 31 + license = lib.licenses.bsd3; 32 + maintainers = with lib.maintainers; [ lovek323 ]; 33 + }; 34 + }
+2 -2
pkgs/development/python-modules/testfixtures/default.nix
··· 3 4 buildPythonPackage rec { 5 pname = "testfixtures"; 6 - version = "5.3.1"; 7 8 src = fetchPypi { 9 inherit pname version; 10 - sha256 = "670ade9410b7132278209e6a2e893caf098b040c4ba4d5ea848367a9c5588728"; 11 }; 12 13 checkInputs = [ mock manuel pytest sybil zope_component ];
··· 3 4 buildPythonPackage rec { 5 pname = "testfixtures"; 6 + version = "5.4.0"; 7 8 src = fetchPypi { 9 inherit pname version; 10 + sha256 = "338aed9695c432b7c9b8a271dabb521e3e7e2c96b11f7b4e60552f1c8408a8f0"; 11 }; 12 13 checkInputs = [ mock manuel pytest sybil zope_component ];
+2 -2
pkgs/development/python-modules/thespian/default.nix
··· 1 { stdenv, fetchPypi, buildPythonPackage, lib }: 2 3 buildPythonPackage rec { 4 - version = "3.9.1"; 5 pname = "thespian"; 6 name = "${pname}-${version}"; 7 8 src = fetchPypi { 9 inherit pname version; 10 extension = "zip"; 11 - sha256 = "0b303bv85176xd5mf3q5j549s28wi70ck2xxgj1cvpydh23dzipb"; 12 }; 13 14 # Do not run the test suite: it takes a long time and uses
··· 1 { stdenv, fetchPypi, buildPythonPackage, lib }: 2 3 buildPythonPackage rec { 4 + version = "3.9.2"; 5 pname = "thespian"; 6 name = "${pname}-${version}"; 7 8 src = fetchPypi { 9 inherit pname version; 10 extension = "zip"; 11 + sha256 = "aec9793fecf45bb91fe919dc61b5c48a4aadfb9f94b06cd92883df7952eacf95"; 12 }; 13 14 # Do not run the test suite: it takes a long time and uses
+2 -2
pkgs/development/python-modules/tifffile/default.nix
··· 3 4 buildPythonPackage rec { 5 pname = "tifffile"; 6 - version = "0.13.4"; 7 8 src = fetchPypi { 9 inherit pname version; 10 - sha256 = "43d3903e8ea4542aaa4759ec3683641555d3a15e68fa5a41aaf14cce4110641a"; 11 }; 12 13 checkInputs = [ nose ];
··· 3 4 buildPythonPackage rec { 5 pname = "tifffile"; 6 + version = "0.13.5"; 7 8 src = fetchPypi { 9 inherit pname version; 10 + sha256 = "bca0fc9eaf609a27ebd99d8466e05d5a6e79389957f17582b70643dbca65e3d8"; 11 }; 12 13 checkInputs = [ nose ];
+29
pkgs/development/python-modules/typing/default.nix
···
··· 1 + { lib, buildPythonPackage, fetchPypi, pythonOlder, isPy3k, python }: 2 + 3 + let 4 + testDir = if isPy3k then "src" else "python2"; 5 + 6 + in buildPythonPackage rec { 7 + pname = "typing"; 8 + version = "3.6.4"; 9 + 10 + src = fetchPypi { 11 + inherit pname version; 12 + sha256 = "d400a9344254803a2368533e4533a4200d21eb7b6b729c173bc38201a74db3f2"; 13 + }; 14 + 15 + # Error for Python3.6: ImportError: cannot import name 'ann_module' 16 + # See https://github.com/python/typing/pull/280 17 + doCheck = pythonOlder "3.6"; 18 + 19 + checkPhase = '' 20 + cd ${testDir} 21 + ${python.interpreter} -m unittest discover 22 + ''; 23 + 24 + meta = with lib; { 25 + description = "Backport of typing module to Python versions older than 3.5"; 26 + homepage = https://docs.python.org/3/library/typing.html; 27 + license = licenses.psfl; 28 + }; 29 + }
+25
pkgs/development/python-modules/webcolors/default.nix
···
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , python 5 + }: 6 + 7 + buildPythonPackage rec { 8 + pname = "webcolors"; 9 + version = "1.7"; 10 + 11 + src = fetchPypi { 12 + inherit pname version; 13 + sha256 = "e47e68644d41c0b1f1e4d939cfe4039bdf1ab31234df63c7a4f59d4766487206"; 14 + }; 15 + 16 + checkPhase = '' 17 + ${python.interpreter} -m unittest discover -s tests 18 + ''; 19 + 20 + meta = { 21 + description = "Library for working with color names/values defined by the HTML and CSS specifications"; 22 + homepage = https://bitbucket.org/ubernostrum/webcolors/overview/; 23 + license = lib.licenses.bsd3; 24 + }; 25 + }
+2 -2
pkgs/development/python-modules/widgetsnbextension/default.nix
··· 8 buildPythonPackage rec { 9 pname = "widgetsnbextension"; 10 name = "${pname}-${version}"; 11 - version = "3.1.0"; 12 13 src = fetchPypi { 14 inherit pname version; 15 - sha256 = "67fc28c3b9fede955d69bccbd92784e3f0c6d0dee3a71532cd3367c257feb178"; 16 }; 17 18 propagatedBuildInputs = [ notebook ];
··· 8 buildPythonPackage rec { 9 pname = "widgetsnbextension"; 10 name = "${pname}-${version}"; 11 + version = "3.1.3"; 12 13 src = fetchPypi { 14 inherit pname version; 15 + sha256 = "02edabcaeaa247721df8027f660f3384c20f30c4865a7ea5dd80685c368736df"; 16 }; 17 18 propagatedBuildInputs = [ notebook ];
+2 -2
pkgs/tools/admin/awscli/default.nix
··· 26 27 in buildPythonPackage rec { 28 pname = "awscli"; 29 - version = "1.14.29"; 30 namePrefix = ""; 31 32 src = fetchPypi { 33 inherit pname version; 34 - sha256 = "96edb1dd72fbc13638967fe07c436e95133169759cc962b973bb79ba959bc652"; 35 }; 36 37 # No tests included
··· 26 27 in buildPythonPackage rec { 28 pname = "awscli"; 29 + version = "1.14.32"; 30 namePrefix = ""; 31 32 src = fetchPypi { 33 inherit pname version; 34 + sha256 = "09i82nf43pv5v598wvbj4nk1bfc64wp7xzlx5ykaca5m40lkarz0"; 35 }; 36 37 # No tests included
+15 -304
pkgs/top-level/python-packages.nix
··· 2796 }; 2797 }; 2798 2799 - cryptography = buildPythonPackage rec { 2800 - # also bump cryptography_vectors 2801 - pname = "cryptography"; 2802 - name = "${pname}-${version}"; 2803 - version = "2.0.3"; 2804 - 2805 - src = fetchPypi { 2806 - inherit pname version; 2807 - sha256 = "d04bb2425086c3fe86f7bc48915290b13e798497839fbb18ab7f6dffcf98cc3a"; 2808 - }; 2809 - 2810 - outputs = [ "out" "dev" ]; 2811 - 2812 - buildInputs = [ pkgs.openssl self.cryptography_vectors ] 2813 - ++ optional stdenv.isDarwin pkgs.darwin.apple_sdk.frameworks.Security; 2814 - propagatedBuildInputs = with self; [ 2815 - idna 2816 - asn1crypto 2817 - packaging 2818 - six 2819 - ] ++ optional (pythonOlder "3.4") enum34 2820 - ++ optional (pythonOlder "3.3") ipaddress 2821 - ++ optional (!isPyPy) cffi; 2822 - 2823 - checkInputs = with self; [ 2824 - pytest 2825 - pretend 2826 - iso8601 2827 - pytz 2828 - hypothesis 2829 - ]; 2830 - 2831 - # The test assumes that if we're on Sierra or higher, that we use `getentropy`, but for binary 2832 - # compatibility with pre-Sierra for binary caches, we hide that symbol so the library doesn't 2833 - # use it. This boils down to them checking compatibility with `getentropy` in two different places, 2834 - # so let's neuter the second test. 2835 - postPatch = '' 2836 - substituteInPlace ./tests/hazmat/backends/test_openssl.py --replace '"16.0"' '"99.0"' 2837 - ''; 2838 - 2839 - # IOKit's dependencies are inconsistent between OSX versions, so this is the best we 2840 - # can do until nix 1.11's release 2841 - __impureHostDeps = [ "/usr/lib" ]; 2842 - }; 2843 - 2844 - cryptography_vectors = buildPythonPackage rec { 2845 - # also bump cryptography 2846 - pname = "cryptography_vectors"; 2847 - version = self.cryptography.version; 2848 - name = "${pname}-${version}"; 2849 2850 - src = fetchPypi { 2851 - inherit pname version; 2852 - sha256 = "beb831aa73663a224f4d7520483ed02da544533bb03b26ec07a5f9a0dd0941e1"; 2853 - }; 2854 - 2855 - # No tests included 2856 - doCheck = false; 2857 - }; 2858 2859 curtsies = callPackage ../development/python-modules/curtsies { }; 2860 ··· 3217 }; 3218 }; 3219 3220 - pytest = self.pytest_33; 3221 3222 - pytest_33 = callPackage ../development/python-modules/pytest/default.nix{ 3223 hypothesis = self.hypothesis.override { 3224 # hypothesis requires pytest that causes dependency cycle 3225 doCheck = false; ··· 13784 13785 pygments = callPackage ../development/python-modules/Pygments { }; 13786 13787 - # For Pelican 3.6.3 13788 - pygments_2_0 = self.pygments.overrideAttrs( oldAttrs: rec { 13789 - version = "2.0.2"; 13790 - name = "Pygments-${version}"; 13791 - 13792 - src = pkgs.fetchurl { 13793 - url = "mirror://pypi/P/Pygments/${name}.tar.gz"; 13794 - sha256 = "7320919084e6dac8f4540638a46447a3bd730fca172afc17d2c03eed22cf4f51"; 13795 - }; 13796 - }); 13797 - 13798 pygpgme = callPackage ../development/python-modules/pygpgme { }; 13799 13800 pylint = callPackage ../development/python-modules/pylint { }; ··· 14644 doCheck = false; 14645 }; 14646 14647 - pyopenssl = buildPythonPackage rec { 14648 - pname = "pyOpenSSL"; 14649 - name = "${pname}-${version}"; 14650 - version = "17.2.0"; 14651 - 14652 - src = self.fetchPypi { 14653 - inherit pname version; 14654 - sha256 = "0d283g4zi0hr9papd24mjl70mi15gyzq6fx618rizi87dgipqqax"; 14655 - }; 14656 - 14657 - outputs = [ "out" "dev" ]; 14658 - 14659 - preCheck = '' 14660 - sed -i 's/test_set_default_verify_paths/noop/' tests/test_ssl.py 14661 - # https://github.com/pyca/pyopenssl/issues/692 14662 - sed -i 's/test_fallback_default_verify_paths/noop/' tests/test_ssl.py 14663 - ''; 14664 - 14665 - checkPhase = '' 14666 - runHook preCheck 14667 - export LANG="en_US.UTF-8" 14668 - py.test 14669 - runHook postCheck 14670 - ''; 14671 - 14672 - # Seems to fail unpredictably on Darwin. See http://hydra.nixos.org/build/49877419/nixlog/1 14673 - # for one example, but I've also seen ContextTests.test_set_verify_callback_exception fail. 14674 - doCheck = !stdenv.isDarwin; 14675 - 14676 - buildInputs = [ pkgs.openssl self.pytest pkgs.glibcLocales self.pretend self.flaky ]; 14677 - propagatedBuildInputs = [ self.cryptography self.pyasn1 self.idna ]; 14678 - }; 14679 - 14680 14681 pyquery = buildPythonPackage rec { 14682 name = "pyquery-${version}"; ··· 14943 }; 14944 }; 14945 14946 - pytz = buildPythonPackage rec { 14947 - name = "${pname}-${version}"; 14948 - pname = "pytz"; 14949 - version = "2017.2"; 14950 - 14951 - src = fetchPypi { 14952 - inherit pname version; 14953 - sha256 = "12cmd3j46d2gcw08bspvp6s9icfcvx88zjz52n1bli9dyvl5dh7m"; 14954 - extension = "zip"; 14955 - }; 14956 - 14957 - checkPhase = '' 14958 - python -m unittest discover -s pytz/tests 14959 - ''; 14960 - 14961 - meta = { 14962 - description = "World timezone definitions, modern and historical"; 14963 - homepage = "http://pythonhosted.org/pytz"; 14964 - license = licenses.mit; 14965 - }; 14966 - }; 14967 14968 pytzdata = callPackage ../development/python-modules/pytzdata { }; 14969 ··· 15034 15035 pyaml = callPackage ../development/python-modules/pyaml { }; 15036 15037 - pyyaml = buildPythonPackage (rec { 15038 - name = "PyYAML-3.12"; 15039 - 15040 - src = pkgs.fetchurl { 15041 - url = "http://pyyaml.org/download/pyyaml/${name}.zip"; 15042 - sha256 = "19s1lxi0idq4a0bpvld866pv5b16lqxypyswmsdi5ys4210jxj2s"; 15043 - }; 15044 - 15045 - buildInputs = with self; [ pkgs.pyrex ]; 15046 - propagatedBuildInputs = with self; [ pkgs.libyaml ]; 15047 - 15048 - meta = { 15049 - description = "The next generation YAML parser and emitter for Python"; 15050 - homepage = http://pyyaml.org; 15051 - license = licenses.free; # !? 15052 - }; 15053 - }); 15054 15055 rabbitpy = buildPythonPackage rec { 15056 version = "0.26.2"; ··· 15221 15222 qtpy = callPackage ../development/python-modules/qtpy { }; 15223 15224 - quantities = buildPythonPackage rec { 15225 - name = "quantities-0.10.1"; 15226 - 15227 - src = pkgs.fetchurl { 15228 - url = "mirror://pypi/q/quantities/quantities-0.10.1.tar.gz"; 15229 - sha256 = "2d27caf31a5e0c37130ac0c14bfa8f9412a5ff1fbf3378a1d6085594776c4315"; 15230 - }; 15231 - 15232 - meta = with pkgs.stdenv.lib; { 15233 - description = "Quantities is designed to handle arithmetic and"; 15234 - homepage = http://packages.python.org/quantities; 15235 - license = licenses.bsd2; 15236 - }; 15237 - }; 15238 15239 qutip = buildPythonPackage rec { 15240 name = "qutip-2.2.0"; ··· 15713 }; 15714 }; 15715 15716 - typing = buildPythonPackage rec { 15717 - name = "typing-${version}"; 15718 - version = "3.5.3.0"; 15719 - 15720 - src = pkgs.fetchurl { 15721 - url = "mirror://pypi/t/typing/${name}.tar.gz"; 15722 - sha256 = "08gz3grrh3vph5ib1w5x1ssnpzvj077x030lx63fxs4kwg3slbfa"; 15723 - }; 15724 - 15725 - meta = { 15726 - description = "Backport of typing module to Python versions older than 3.5"; 15727 - homepage = "https://docs.python.org/3.5/library/typing.html"; 15728 - license = licenses.psfl; 15729 - }; 15730 - }; 15731 15732 typeguard = callPackage ../development/python-modules/typeguard { }; 15733 ··· 15970 }; 15971 }; 15972 15973 - simplegeneric = buildPythonPackage rec { 15974 - version = "0.8.1"; 15975 - name = "simplegeneric-${version}"; 15976 - 15977 - src = pkgs.fetchurl { 15978 - url = "mirror://pypi/s/simplegeneric/${name}.zip"; 15979 - sha256 = "dc972e06094b9af5b855b3df4a646395e43d1c9d0d39ed345b7393560d0b9173"; 15980 - }; 15981 - 15982 - meta = { 15983 - description = "Simple generic functions"; 15984 - homepage = http://cheeseshop.python.org/pypi/simplegeneric; 15985 - license = licenses.zpl21; 15986 - }; 15987 - }; 15988 - 15989 15990 shortuuid = buildPythonPackage rec { 15991 name = "shortuuid-${version}"; ··· 16467 }; 16468 }; 16469 16470 - sympy = buildPythonPackage rec { 16471 - name = "sympy-1.0"; 16472 - 16473 - src = pkgs.fetchurl { 16474 - url = "mirror://pypi/s/sympy/${name}.tar.gz"; 16475 - sha256 = "1bpzjwr9hrr7w88v4vgnj9lr6vxcldc94si13n8xpr1rv08d5b1y"; 16476 - }; 16477 - 16478 - buildInputs = [ pkgs.glibcLocales ]; 16479 - 16480 - propagatedBuildInputs = with self; [ mpmath ]; 16481 - 16482 - # Bunch of failures including transients. 16483 - doCheck = false; 16484 - 16485 - preCheck = '' 16486 - export LANG="en_US.UTF-8" 16487 - ''; 16488 - 16489 - meta = { 16490 - description = "A Python library for symbolic mathematics"; 16491 - homepage = http://www.sympy.org/; 16492 - license = licenses.bsd3; 16493 - maintainers = with maintainers; [ lovek323 ]; 16494 - platforms = platforms.unix; 16495 - }; 16496 - }; 16497 16498 pilkit = buildPythonPackage rec { 16499 name = "pilkit-1.1.4"; ··· 18329 }; 18330 }; 18331 18332 - webcolors = buildPythonPackage rec { 18333 - name = "webcolors-1.4"; 18334 - 18335 - src = pkgs.fetchurl { 18336 - url = "mirror://pypi/w/webcolors/${name}.tar.gz"; 18337 - sha256 = "304fc95dab2848c7bf64f378356766e692c2f8b4a8b15fa3509544e6412936e8"; 18338 - }; 18339 - 18340 - # error: invalid command 'test' 18341 - doCheck = false; 18342 - 18343 - meta = { 18344 - description = "Library for working with color names/values defined by the HTML and CSS specifications"; 18345 - homepage = https://bitbucket.org/ubernostrum/webcolors/overview/; 18346 - license = licenses.bsd3; 18347 - platforms = platforms.unix; 18348 - }; 18349 - }; 18350 18351 webencodings = callPackage ../development/python-modules/webencodings { }; 18352 ··· 20552 }; 20553 }; 20554 20555 - dicttoxml = buildPythonPackage rec { 20556 - name = "dicttoxml-1.6.4"; 20557 - 20558 - src = pkgs.fetchurl { 20559 - url = "mirror://pypi/d/dicttoxml/dicttoxml-1.6.4.tar.gz"; 20560 - sha256 = "5f29e95fec56680823dc41911c04c2af08727ee53c1b60e83c489212bab71161"; 20561 - }; 20562 - 20563 - propagatedBuildInputs = with self; [ ]; 20564 - 20565 - meta = { 20566 - description = "Summary"; 20567 - homepage = https://github.com/quandyfactory/dicttoxml; 20568 - }; 20569 - }; 20570 20571 markdown2 = callPackage ../development/python-modules/markdown2 { }; 20572 ··· 21079 }; 21080 }; 21081 21082 - ovh = buildPythonPackage rec { 21083 - name = "ovh-${version}"; 21084 - version = "0.4.5"; 21085 - doCheck = false; #test needs packages too explicit 21086 - buildInputs = with self; [ d2to1 ]; 21087 - propagatedBuildInputs = with self; [ requests ]; 21088 - 21089 - src = pkgs.fetchurl { 21090 - url = "mirror://pypi/o/ovh/ovh-${version}.tar.gz"; 21091 - sha256 = "1wf2p1sbg34jpj97r3w5nx9pj6vp0mlprry3vw2xav3dv02qv2af"; 21092 - }; 21093 - 21094 - meta = { 21095 - description = "Thin wrapper around OVH's APIs"; 21096 - homepage = https://pypi.python.org/pypi/ovh; 21097 - license = licenses.bsd2; 21098 - maintainers = [ maintainers.makefu ]; 21099 - }; 21100 - }; 21101 21102 willow = buildPythonPackage rec { 21103 name = "willow-${version}"; ··· 21761 }; 21762 }; 21763 21764 - pybrain = buildPythonPackage rec { 21765 - name = "pybrain-${version}"; 21766 - version = "0.3.3"; 21767 - 21768 - src = pkgs.fetchurl { 21769 - url = "https://github.com/pybrain/pybrain/archive/${version}.tar.gz"; 21770 - sha256 = "114m99vsrps2gjqfm3i3kxx4nibjhjdzphsy2bhrxa5q3h2q14dz"; 21771 - }; 21772 - 21773 - propagatedBuildInputs = with self; [ scipy ]; 21774 - 21775 - meta = { 21776 - homepage = "http://pybrain.org/"; 21777 - description = "Modular Machine Learning Library for Python"; 21778 - license = licenses.bsd3; 21779 - maintainers = with maintainers; [ NikolaMandic ]; 21780 - broken = true; # See https://github.com/NixOS/nixpkgs/pull/29198 21781 - }; 21782 - }; 21783 - 21784 threadpool = buildPythonPackage rec { 21785 name = "threadpool-${version}"; 21786 version = "1.3.2"; ··· 22073 22074 whoosh = callPackage ../development/python-modules/whoosh { }; 22075 22076 - packet-python = buildPythonPackage rec { 22077 - name = "${pname}-${version}"; 22078 - pname = "packet-python"; 22079 - version = "1.33"; 22080 - src = pkgs.fetchurl { 22081 - url = "https://pypi.python.org/packages/eb/82/f0506bd964501f958ac6a37e843ccb7bd9e712732886258314d55f0ec710/packet-python-1.33.tar.gz"; 22082 - sha256 = "0bmvfmvjm8jx0y8sv0jf5mhv0h3v8idx0sc5myxs7ig200584dd3"; 22083 - }; 22084 - propagatedBuildInputs = with self; [ requests ]; 22085 - 22086 - meta = { 22087 - description = "A Python client for the Packet API."; 22088 - homepage = "https://github.com/packethost/packet-python"; 22089 - license = licenses.lgpl3; 22090 - maintainers = with maintainers; [ dipinhora ]; 22091 - platforms = platforms.all; 22092 - }; 22093 - }; 22094 22095 pwntools = callPackage ../development/python-modules/pwntools { }; 22096
··· 2796 }; 2797 }; 2798 2799 + cryptography = callPackage ../development/python-modules/cryptography { }; 2800 2801 + cryptography_vectors = callPackage ../development/python-modules/cryptography_vectors { }; 2802 2803 curtsies = callPackage ../development/python-modules/curtsies { }; 2804 ··· 3161 }; 3162 }; 3163 3164 + pytest = self.pytest_34; 3165 3166 + pytest_34 = callPackage ../development/python-modules/pytest/default.nix{ 3167 hypothesis = self.hypothesis.override { 3168 # hypothesis requires pytest that causes dependency cycle 3169 doCheck = false; ··· 13728 13729 pygments = callPackage ../development/python-modules/Pygments { }; 13730 13731 pygpgme = callPackage ../development/python-modules/pygpgme { }; 13732 13733 pylint = callPackage ../development/python-modules/pylint { }; ··· 14577 doCheck = false; 14578 }; 14579 14580 + pyopenssl = callPackage ../development/python-modules/pyopenssl { }; 14581 14582 pyquery = buildPythonPackage rec { 14583 name = "pyquery-${version}"; ··· 14844 }; 14845 }; 14846 14847 + pytz = callPackage ../development/python-modules/pytz { }; 14848 14849 pytzdata = callPackage ../development/python-modules/pytzdata { }; 14850 ··· 14915 14916 pyaml = callPackage ../development/python-modules/pyaml { }; 14917 14918 + pyyaml = callPackage ../development/python-modules/pyyaml { }; 14919 14920 rabbitpy = buildPythonPackage rec { 14921 version = "0.26.2"; ··· 15086 15087 qtpy = callPackage ../development/python-modules/qtpy { }; 15088 15089 + quantities = callPackage ../development/python-modules/quantities { }; 15090 15091 qutip = buildPythonPackage rec { 15092 name = "qutip-2.2.0"; ··· 15565 }; 15566 }; 15567 15568 + typing = callPackage ../development/python-modules/typing { }; 15569 15570 typeguard = callPackage ../development/python-modules/typeguard { }; 15571 ··· 15808 }; 15809 }; 15810 15811 + simplegeneric = callPackage ../development/python-modules/simplegeneric { }; 15812 15813 shortuuid = buildPythonPackage rec { 15814 name = "shortuuid-${version}"; ··· 16290 }; 16291 }; 16292 16293 + sympy = callPackage ../development/python-modules/sympy { }; 16294 16295 pilkit = buildPythonPackage rec { 16296 name = "pilkit-1.1.4"; ··· 18126 }; 18127 }; 18128 18129 + webcolors = callPackage ../development/python-modules/webcolors { }; 18130 18131 webencodings = callPackage ../development/python-modules/webencodings { }; 18132 ··· 20332 }; 20333 }; 20334 20335 + dicttoxml = callPackage ../development/python-modules/dicttoxml { }; 20336 20337 markdown2 = callPackage ../development/python-modules/markdown2 { }; 20338 ··· 20845 }; 20846 }; 20847 20848 + ovh = callPackage ../development/python-modules/ovh { }; 20849 20850 willow = buildPythonPackage rec { 20851 name = "willow-${version}"; ··· 21509 }; 21510 }; 21511 21512 threadpool = buildPythonPackage rec { 21513 name = "threadpool-${version}"; 21514 version = "1.3.2"; ··· 21801 21802 whoosh = callPackage ../development/python-modules/whoosh { }; 21803 21804 + packet-python = callPackage ../development/python-modules/packet-python { }; 21805 21806 pwntools = callPackage ../development/python-modules/pwntools { }; 21807