diff options
author | Frederik Rietdijk <freddyrietdijk@fridh.nl> | 2016-04-26 14:38:03 +0200 |
---|---|---|
committer | Domen Kožar <domen@dev.si> | 2016-04-26 13:38:03 +0100 |
commit | d5e6a4494a2eb00e52b309fc7a196d84ff8625ec (patch) | |
tree | 190f097587735bc3762c65d3c1690c4f30b01c1f /pkgs/development/python-modules | |
parent | ae8a3a14f03cda32340dd55905b4d8c1b18b0446 (diff) |
Python: use PyPI mirror (#15001)
* mirrors: add pypi
* Python: Use pypi mirror for all PyPI packages
Diffstat (limited to 'pkgs/development/python-modules')
7 files changed, 7 insertions, 7 deletions
diff --git a/pkgs/development/python-modules/buildout-nix/default.nix b/pkgs/development/python-modules/buildout-nix/default.nix index d12702d98ca0..b450814b8529 100644 --- a/pkgs/development/python-modules/buildout-nix/default.nix +++ b/pkgs/development/python-modules/buildout-nix/default.nix @@ -4,7 +4,7 @@ buildPythonPackage { name = "zc.buildout-nix-2.5.0"; src = fetchurl { - url = "https://pypi.python.org/packages/source/z/zc.buildout/zc.buildout-2.5.0.tar.gz"; + url = "mirror://pypi/z/zc.buildout/zc.buildout-2.5.0.tar.gz"; sha256 = "721bd2231a9f01f2d5c14f3adccb3385f85b093ee05b18d15d0ff2b9f1f1bd02"; }; diff --git a/pkgs/development/python-modules/h5py/default.nix b/pkgs/development/python-modules/h5py/default.nix index 9775b2f70a2e..5b1ca1927902 100644 --- a/pkgs/development/python-modules/h5py/default.nix +++ b/pkgs/development/python-modules/h5py/default.nix @@ -16,7 +16,7 @@ buildPythonPackage rec { version = "2.5.0"; src = fetchurl { - url = "https://pypi.python.org/packages/source/h/h5py/${name}.tar.gz"; + url = "mirror://pypi/h/h5py/${name}.tar.gz"; sha256 = "9833df8a679e108b561670b245bcf9f3a827b10ccb3a5fa1341523852cfac2f6"; }; diff --git a/pkgs/development/python-modules/matplotlib/default.nix b/pkgs/development/python-modules/matplotlib/default.nix index 1ebba52ff6f4..c60ee54bec8e 100644 --- a/pkgs/development/python-modules/matplotlib/default.nix +++ b/pkgs/development/python-modules/matplotlib/default.nix @@ -15,7 +15,7 @@ buildPythonPackage rec { version = "1.5.1"; src = fetchurl { - url = "https://pypi.python.org/packages/source/m/matplotlib/${name}.tar.gz"; + url = "mirror://pypi/m/matplotlib/${name}.tar.gz"; sha256 = "3ab8d968eac602145642d0db63dd8d67c85e9a5444ce0e2ecb2a8fedc7224d40"; }; diff --git a/pkgs/development/python-modules/pycrypto/default.nix b/pkgs/development/python-modules/pycrypto/default.nix index 4faaf20d29c3..0cbe4491d67d 100644 --- a/pkgs/development/python-modules/pycrypto/default.nix +++ b/pkgs/development/python-modules/pycrypto/default.nix @@ -5,7 +5,7 @@ buildPythonPackage rec { namePrefix = ""; src = fetchurl { - url = "http://pypi.python.org/packages/source/p/pycrypto/${name}.tar.gz"; + url = "mirror://pypi/p/pycrypto/${name}.tar.gz"; sha256 = "0g0ayql5b9mkjam8hym6zyg6bv77lbh66rv1fyvgqb17kfc1xkpj"; }; diff --git a/pkgs/development/python-modules/setuptools/default.nix b/pkgs/development/python-modules/setuptools/default.nix index a924a1f3b852..f40974263faa 100644 --- a/pkgs/development/python-modules/setuptools/default.nix +++ b/pkgs/development/python-modules/setuptools/default.nix @@ -7,7 +7,7 @@ stdenv.mkDerivation rec { version = "19.4"; # 18.4 and up breaks python34Packages.characteristic and many others src = fetchurl { - url = "https://pypi.python.org/packages/source/s/setuptools/${shortName}.tar.gz"; + url = "mirror://pypi/s/setuptools/${shortName}.tar.gz"; sha256 = "214bf29933f47cf25e6faa569f710731728a07a19cae91ea64f826051f68a8cf"; }; diff --git a/pkgs/development/python-modules/tables/default.nix b/pkgs/development/python-modules/tables/default.nix index 3dcf00e9b8ce..b3003dfa954c 100644 --- a/pkgs/development/python-modules/tables/default.nix +++ b/pkgs/development/python-modules/tables/default.nix @@ -6,7 +6,7 @@ buildPythonPackage rec { name = "tables-${version}"; src = fetchurl { - url = "https://pypi.python.org/packages/source/t/tables/${name}.tar.gz"; + url = "mirror://pypi/t/tables/${name}.tar.gz"; sha256 = "3564b351a71ec1737b503b001eb7ceae1f65d5d6e3ffe1ea75aafba10f37fa84"; }; diff --git a/pkgs/development/python-modules/yolk/default.nix b/pkgs/development/python-modules/yolk/default.nix index 7cfcb1e0f0d0..33e9cfeab3a9 100644 --- a/pkgs/development/python-modules/yolk/default.nix +++ b/pkgs/development/python-modules/yolk/default.nix @@ -7,7 +7,7 @@ buildPythonApplication rec { version = "0.4.3"; src = fetchurl { - url = "https://pypi.python.org/packages/source/y/yolk/yolk-${version}.tar.gz"; + url = "mirror://pypi/y/yolk/yolk-${version}.tar.gz"; sha256 = "1f6xwx210jnl5nq0m3agh2p1cxmaizawaf3fwq43q4yw050fn1qw"; }; |