diff options
32 files changed, 1030 insertions, 1025 deletions
diff --git a/doc/languages-frameworks/python.md b/doc/languages-frameworks/python.md index fc0a0ba987ae..81da5c704395 100644 --- a/doc/languages-frameworks/python.md +++ b/doc/languages-frameworks/python.md @@ -108,7 +108,7 @@ toolz = buildPythonPackage rec{ version = "0.7.4"; src = pkgs.fetchurl{ - url = "https://pypi.python.org/packages/source/t/toolz/toolz-${version}.tar.gz"; + url = "mirror://pypi/t/toolz/toolz-${version}.tar.gz"; sha256 = "43c2c9e5e7a16b6c88ba3088a9bfc82f7db8e13378be7c78d6c14a5f8ed05afd"; }; @@ -146,7 +146,7 @@ pkgs.python35Packages.buildPythonPackage rec { version = "0.7.4"; src = pkgs.fetchurl{ - url = "https://pypi.python.org/packages/source/t/toolz/toolz-${version}.tar.gz"; + url = "mirror://pypi/t/toolz/toolz-${version}.tar.gz"; sha256 = "43c2c9e5e7a16b6c88ba3088a9bfc82f7db8e13378be7c78d6c14a5f8ed05afd"; }; @@ -175,7 +175,7 @@ with import <nixpkgs> {}; version = "0.7.4"; src = pkgs.fetchurl{ - url = "https://pypi.python.org/packages/source/t/toolz/toolz-${version}.tar.gz"; + url = "mirror://pypi/t/toolz/toolz-${version}.tar.gz"; sha256 = "43c2c9e5e7a16b6c88ba3088a9bfc82f7db8e13378be7c78d6c14a5f8ed05afd"; }; @@ -220,7 +220,7 @@ datashape = buildPythonPackage rec { version = "0.4.7"; src = pkgs.fetchurl { - url = "https://pypi.python.org/packages/source/D/DataShape/${name}.tar.gz"; + url = "mirror://pypi/D/DataShape/${name}.tar.gz"; sha256 = "14b2ef766d4c9652ab813182e866f493475e65e558bed0822e38bf07bba1a278"; }; @@ -251,7 +251,7 @@ lxml = buildPythonPackage rec { name = "lxml-3.4.4"; src = pkgs.fetchurl { - url = "http://pypi.python.org/packages/source/l/lxml/${name}.tar.gz"; + url = "mirror://pypi/l/lxml/${name}.tar.gz"; sha256 = "16a0fa97hym9ysdk3rmqz32xdjqmy4w34ld3rm3jf5viqjx65lxk"; }; @@ -282,7 +282,7 @@ pyfftw = buildPythonPackage rec { version = "0.9.2"; src = pkgs.fetchurl { - url = "https://pypi.python.org/packages/source/p/pyFFTW/pyFFTW-${version}.tar.gz"; + url = "mirror://pypi/p/pyFFTW/pyFFTW-${version}.tar.gz"; sha256 = "f6bbb6afa93085409ab24885a1a3cdb8909f095a142f4d49e346f2bd1b789074"; }; @@ -373,7 +373,7 @@ buildPythonPackage rec { version = "0.7.4"; src = pkgs.fetchurl{ - url = "https://pypi.python.org/packages/source/t/toolz/toolz-${version}.tar.gz"; + url = "mirror://pypi/t/toolz/toolz-${version}.tar.gz"; sha256 = "43c2c9e5e7a16b6c88ba3088a9bfc82f7db8e13378be7c78d6c14a5f8ed05afd"; }; diff --git a/pkgs/applications/misc/electrum/default.nix b/pkgs/applications/misc/electrum/default.nix index ca807f80e1bf..d5442a2ded8b 100644 --- a/pkgs/applications/misc/electrum/default.nix +++ b/pkgs/applications/misc/electrum/default.nix @@ -5,7 +5,7 @@ let version = "0.1.7"; name = "jsonrpclib-${version}"; src = fetchurl { - url = "https://pypi.python.org/packages/source/j/jsonrpclib/${name}.tar.gz"; + url = "mirror://pypi/j/jsonrpclib/${name}.tar.gz"; sha256 = "02vgirw2bcgvpcxhv5hf3yvvb4h5wzd1lpjx8na5psdmaffj6l3z"; }; propagatedBuildInputs = [ pythonPackages.cjson ]; diff --git a/pkgs/applications/misc/khal/default.nix b/pkgs/applications/misc/khal/default.nix index 9f083592c409..e1786cc1b08d 100644 --- a/pkgs/applications/misc/khal/default.nix +++ b/pkgs/applications/misc/khal/default.nix @@ -5,7 +5,7 @@ python3Packages.buildPythonApplication rec { name = "khal-${version}"; src = fetchurl { - url = "https://pypi.python.org/packages/source/k/khal/khal-${version}.tar.gz"; + url = "mirror://pypi/k/khal/khal-${version}.tar.gz"; sha256 = "00llxj7cv31mjsx0j6zxmyi9s1q20yvfkn025xcy8cv1ylfwic66"; }; diff --git a/pkgs/applications/misc/pitz/default.nix b/pkgs/applications/misc/pitz/default.nix index 1eb65a59470b..dcb36082231f 100644 --- a/pkgs/applications/misc/pitz/default.nix +++ b/pkgs/applications/misc/pitz/default.nix @@ -16,7 +16,7 @@ buildPythonApplication rec { namePrefix = ""; src = fetchurl { - url = "http://pypi.python.org/packages/source/p/pitz/${name}.tar.gz"; + url = "mirror://pypi/p/pitz/${name}.tar.gz"; sha256 = "1k7f3h4acllzqy3mjqnjd4w5jskp03s79b7dx3c85vlmd7824smr"; }; diff --git a/pkgs/applications/science/spyder/default.nix b/pkgs/applications/science/spyder/default.nix index 73847624e85a..141ef44b77e1 100644 --- a/pkgs/applications/science/spyder/default.nix +++ b/pkgs/applications/science/spyder/default.nix @@ -13,7 +13,7 @@ buildPythonApplication rec { namePrefix = ""; src = fetchurl { - url = "https://pypi.python.org/packages/source/s/spyder/${name}.zip"; + url = "mirror://pypi/s/spyder/${name}.zip"; sha256 = "99fdae2cea325c0f2842c77bd67dd22db19fef3d9c0dde1545b1a2650eae517e"; }; diff --git a/pkgs/applications/version-management/bugseverywhere/default.nix b/pkgs/applications/version-management/bugseverywhere/default.nix index f8081ade61f5..cc4edd54b560 100644 --- a/pkgs/applications/version-management/bugseverywhere/default.nix +++ b/pkgs/applications/version-management/bugseverywhere/default.nix @@ -11,7 +11,7 @@ pythonPackages.buildPythonApplication rec { src = fetchurl { url = - "https://pypi.python.org/packages/source/b/bugs-everywhere/bugs-everywhere-${version}.tar.gz"; + "mirror://pypi/b/bugs-everywhere/bugs-everywhere-${version}.tar.gz"; sha256 = "1ikm3ckwpimwcvx32vy7gh5gbp7q750j3327m17nvrj99g3daz2d"; }; diff --git a/pkgs/applications/window-managers/i3/pystatus.nix b/pkgs/applications/window-managers/i3/pystatus.nix index eac2d9ab9c97..291f5dbe9d94 100644 --- a/pkgs/applications/window-managers/i3/pystatus.nix +++ b/pkgs/applications/window-managers/i3/pystatus.nix @@ -7,7 +7,7 @@ python3Packages.buildPythonApplication rec { disabled = !python3Packages.isPy3k; src = fetchurl { - url = "https://pypi.python.org/packages/source/i/${pname}/${name}.tar.gz"; + url = "mirror://pypi/i/${pname}/${name}.tar.gz"; sha256 = "1bpkkf9q4zqq7fh65zynbv26nq24rfznmw71jjvda7g8kjrwjdk5"; }; diff --git a/pkgs/build-support/fetchurl/mirrors.nix b/pkgs/build-support/fetchurl/mirrors.nix index 148a72f5d842..6de94ab511b5 100644 --- a/pkgs/build-support/fetchurl/mirrors.nix +++ b/pkgs/build-support/fetchurl/mirrors.nix @@ -340,4 +340,9 @@ rec { http://repo.steampowered.com/steamrt/ https://abbradar.net/steamrt/ ]; + + # Python PyPI mirrors + pypi = [ + https://pypi.io/packages/source/ + ]; } diff --git a/pkgs/development/arduino/ino/default.nix b/pkgs/development/arduino/ino/default.nix index 073a2339720d..07dc229bcc2a 100644 --- a/pkgs/development/arduino/ino/default.nix +++ b/pkgs/development/arduino/ino/default.nix @@ -6,7 +6,7 @@ buildPythonApplication rec { namePrefix = ""; src = fetchurl { - url = "http://pypi.python.org/packages/source/i/ino/${name}.tar.gz"; + url = "mirror://pypi/i/ino/${name}.tar.gz"; sha256 = "0k6lzfcn55favbj0w4afrvnmwyskf7bgzg9javv2ycvskp35srwv"; }; diff --git a/pkgs/development/compilers/julia/git.nix b/pkgs/development/compilers/julia/git.nix index 2fbe50fbc9f1..b6d917865d83 100644 --- a/pkgs/development/compilers/julia/git.nix +++ b/pkgs/development/compilers/julia/git.nix @@ -42,7 +42,7 @@ let virtualenvVersion = "1.11.6"; virtualenv = fetchurl { - url = "https://pypi.python.org/packages/source/v/virtualenv/virtualenv-${virtualenvVersion}.tar.gz"; + url = "mirror://pypi/v/virtualenv/virtualenv-${virtualenvVersion}.tar.gz"; sha256 = "1xq4prmg25n9cz5zcvbqx68lmc3kl39by582vd8pzs9f3qalqyiy"; }; in 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"; }; diff --git a/pkgs/development/tools/build-managers/buildbot-slave/default.nix b/pkgs/development/tools/build-managers/buildbot-slave/default.nix index 30fbe056926e..a5f86d105c3f 100644 --- a/pkgs/development/tools/build-managers/buildbot-slave/default.nix +++ b/pkgs/development/tools/build-managers/buildbot-slave/default.nix @@ -5,7 +5,7 @@ buildPythonApplication (rec { namePrefix = ""; src = fetchurl { - url = "https://pypi.python.org/packages/source/b/buildbot-slave/${name}.tar.gz"; + url = "mirror://pypi/b/buildbot-slave/${name}.tar.gz"; sha256 = "09pncw44c7vqrl7zyn1nvfismiqi9s51axk9cqxn9gq7jhj38mpg"; }; diff --git a/pkgs/development/tools/build-managers/buildbot/default.nix b/pkgs/development/tools/build-managers/buildbot/default.nix index a246044d6f1e..94d9008a4f33 100644 --- a/pkgs/development/tools/build-managers/buildbot/default.nix +++ b/pkgs/development/tools/build-managers/buildbot/default.nix @@ -13,7 +13,7 @@ buildPythonApplication (rec { namePrefix = ""; src = fetchurl { - url = "https://pypi.python.org/packages/source/b/buildbot/${name}.tar.gz"; + url = "mirror://pypi/b/buildbot/${name}.tar.gz"; sha256 = "1mn4h04sp6smr3ahqfflys15cpn13q9mfkapcs2jc4ppvxv6kdn6"; }; diff --git a/pkgs/development/tools/devpi-client/default.nix b/pkgs/development/tools/devpi-client/default.nix index bcad521ed523..1e848e5d611c 100644 --- a/pkgs/development/tools/devpi-client/default.nix +++ b/pkgs/development/tools/devpi-client/default.nix @@ -5,7 +5,7 @@ pythonPackages.buildPythonApplication rec { version = "2.3.2"; src = fetchurl { - url = "https://pypi.python.org/packages/source/d/devpi-client/devpi-client-${version}.tar.gz"; + url = "mirror://pypi/d/devpi-client/devpi-client-${version}.tar.gz"; md5= "bfc8cd768f983fd0585c347bca00c8bb"; }; diff --git a/pkgs/servers/matrix-synapse/default.nix b/pkgs/servers/matrix-synapse/default.nix index ee0e66baa95b..7a558a030319 100644 --- a/pkgs/servers/matrix-synapse/default.nix +++ b/pkgs/servers/matrix-synapse/default.nix @@ -5,7 +5,7 @@ let version = "0.6.8"; src = fetchurl { - url = "https://pypi.python.org/packages/source/m/matrix-angular-sdk/matrix-angular-sdk-${version}.tar.gz"; + url = "mirror://pypi/m/matrix-angular-sdk/matrix-angular-sdk-${version}.tar.gz"; sha256 = "0gmx4y5kqqphnq3m7xk2vpzb0w2a4palicw7wfdr1q2schl9fhz2"; }; }; diff --git a/pkgs/tools/admin/cli53/default.nix b/pkgs/tools/admin/cli53/default.nix index 3248ac63bf79..ce9f17b1a517 100644 --- a/pkgs/tools/admin/cli53/default.nix +++ b/pkgs/tools/admin/cli53/default.nix @@ -6,7 +6,7 @@ buildPythonApplication rec { version = "0.4.4"; src = fetchurl { - url = "https://pypi.python.org/packages/source/c/cli53/${name}.tar.gz"; + url = "mirror://pypi/c/cli53/${name}.tar.gz"; sha256 = "0s9jzigq6a16m2c3qklssx2lz16cf13g5zh80vh24kxazaxqzbig"; }; diff --git a/pkgs/tools/admin/salt/default.nix b/pkgs/tools/admin/salt/default.nix index 254b7b9374eb..0cd10fcab92a 100644 --- a/pkgs/tools/admin/salt/default.nix +++ b/pkgs/tools/admin/salt/default.nix @@ -13,7 +13,7 @@ pythonPackages.buildPythonApplication rec { disabled = pythonPackages.isPy3k; src = fetchurl { - url = "https://pypi.python.org/packages/source/s/salt/${name}.tar.gz"; + url = "mirror://pypi/s/salt/${name}.tar.gz"; sha256 = "1xcfcs50pyammb60myph4f8bi2r6iwkxwsnnhrjwvkv2ymxwxv5j"; }; diff --git a/pkgs/tools/admin/salt/testing.nix b/pkgs/tools/admin/salt/testing.nix index 8c65defcab58..14105dc2f98c 100644 --- a/pkgs/tools/admin/salt/testing.nix +++ b/pkgs/tools/admin/salt/testing.nix @@ -11,7 +11,7 @@ pythonPackages.buildPythonApplication rec { ]; src = fetchurl { - url = "https://pypi.python.org/packages/source/S/SaltTesting/${name}.tar.gz"; + url = "mirror://pypi/S/SaltTesting/${name}.tar.gz"; sha256 = "0p0y8kb77pis18rcig1kf9dnns4bnfa3mr91q40lq4mw63l1b34h"; }; diff --git a/pkgs/tools/backup/borg/default.nix b/pkgs/tools/backup/borg/default.nix index ada4ef29c84e..95c0c26f30be 100644 --- a/pkgs/tools/backup/borg/default.nix +++ b/pkgs/tools/backup/borg/default.nix @@ -6,7 +6,7 @@ python3Packages.buildPythonApplication rec { namePrefix = ""; src = fetchurl { - url = "https://pypi.python.org/packages/source/b/borgbackup/borgbackup-${version}.tar.gz"; + url = "mirror://pypi/b/borgbackup/borgbackup-${version}.tar.gz"; sha256 = "1myz10pwxnac9z59gw1w3xjhz6ghx03vngpl97ca527pj0r39shi"; }; diff --git a/pkgs/tools/networking/httpie/default.nix b/pkgs/tools/networking/httpie/default.nix index a3c52f7dd501..702fa208ac25 100644 --- a/pkgs/tools/networking/httpie/default.nix +++ b/pkgs/tools/networking/httpie/default.nix @@ -5,7 +5,7 @@ pythonPackages.buildPythonApplication rec { namePrefix = ""; src = fetchurl { - url = "http://pypi.python.org/packages/source/h/httpie/${name}.tar.gz"; + url = "mirror://pypi/h/httpie/${name}.tar.gz"; sha256 = "0s0dsj1iimn17h0xyziwk4kz4ga9s0vy9rhzixh8dna32za84fdg"; }; diff --git a/pkgs/tools/networking/speedtest-cli/default.nix b/pkgs/tools/networking/speedtest-cli/default.nix index 80bcb7ae9879..de5ba4c18e12 100644 --- a/pkgs/tools/networking/speedtest-cli/default.nix +++ b/pkgs/tools/networking/speedtest-cli/default.nix @@ -5,7 +5,7 @@ pythonPackages.buildPythonApplication rec { version = "0.3.4"; src = fetchurl { - url = "https://pypi.python.org/packages/source/s/speedtest-cli/speedtest-cli-${version}.tar.gz"; + url = "mirror://pypi/s/speedtest-cli/speedtest-cli-${version}.tar.gz"; sha256 = "19i671cd815fcv0x7h2m0a493slzwkzn7r926g8myx1srkss0q6d"; }; diff --git a/pkgs/tools/package-management/nox/default.nix b/pkgs/tools/package-management/nox/default.nix index 89e72307ead1..895704ec6464 100644 --- a/pkgs/tools/package-management/nox/default.nix +++ b/pkgs/tools/package-management/nox/default.nix @@ -6,7 +6,7 @@ pythonPackages.buildPythonApplication rec { namePrefix = ""; src = fetchurl { - url = "https://pypi.python.org/packages/source/n/nix-nox/nix-nox-${version}.tar.gz"; + url = "mirror://pypi/n/nix-nox/nix-nox-${version}.tar.gz"; sha256 = "1wpxh5fhj8nx4yx4cvmc087cnf4iqwxf7zd7rdh2ln3pgxrjfral"; }; diff --git a/pkgs/tools/security/sshuttle/default.nix b/pkgs/tools/security/sshuttle/default.nix index 411195747678..e3d5c892d37d 100644 --- a/pkgs/tools/security/sshuttle/default.nix +++ b/pkgs/tools/security/sshuttle/default.nix @@ -7,7 +7,7 @@ pythonPackages.buildPythonApplication rec { src = fetchurl { sha256 = "18hrwi2gyri1n2rq0nghvv7hfhbhh5h67am89524vc1yyx40vn3b"; - url = "https://pypi.python.org/packages/source/s/sshuttle/${name}.tar.gz"; + url = "mirror://pypi/s/sshuttle/${name}.tar.gz"; }; patches = [ ./sudo.patch ]; diff --git a/pkgs/tools/text/grin/default.nix b/pkgs/tools/text/grin/default.nix index da3a77e8d2e4..149af7baa2d7 100644 --- a/pkgs/tools/text/grin/default.nix +++ b/pkgs/tools/text/grin/default.nix @@ -5,7 +5,7 @@ pythonPackages.buildPythonApplication rec { namePrefix = ""; src = fetchurl { - url = "https://pypi.python.org/packages/source/g/grin/${name}.tar.gz"; + url = "mirror://pypi/g/grin/${name}.tar.gz"; sha256 = "1swzwb17wibam8jszdv98h557hlx44pg6psv6rjz7i33qlxk0fdz"; }; diff --git a/pkgs/tools/video/vnc2flv/default.nix b/pkgs/tools/video/vnc2flv/default.nix index 3675b5ab091b..bb72fd2911f7 100644 --- a/pkgs/tools/video/vnc2flv/default.nix +++ b/pkgs/tools/video/vnc2flv/default.nix @@ -5,7 +5,7 @@ pythonPackages.buildPythonApplication rec { namePrefix = ""; src = fetchurl { - url = "http://pypi.python.org/packages/source/v/vnc2flv/${name}.tar.gz"; + url = "mirror://pypi/v/vnc2flv/${name}.tar.gz"; sha256 = "14d4nm8yim0bm0nd3wyj7z4zdsg5zk3d9bhhvwdc36x03r8d0sbq"; }; diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index f00952a40902..20fe37957424 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -106,7 +106,7 @@ in modules // { }; src = pkgs.fetchurl { - url = "https://pypi.python.org/packages/source/d/discid/${name}.tar.gz"; + url = "mirror://pypi/d/discid/${name}.tar.gz"; sha256 = "b39d443051b26d0230be7a6c616243daae93337a8711dd5d4119bb6a0e516fa8"; }; @@ -203,7 +203,7 @@ in modules // { name = "aafigure-0.5"; src = pkgs.fetchurl { - url = "https://pypi.python.org/packages/source/a/aafigure/${name}.tar.gz"; + url = "mirror://pypi/a/aafigure/${name}.tar.gz"; sha256 = "090c88beb091d28a233f854e239713aa15d8d1906ea16211855345c912e8a091"; }; @@ -335,7 +335,7 @@ in modules // { name = "actdiag-0.5.3"; src = pkgs.fetchurl { - url = "https://pypi.python.org/packages/source/a/actdiag/${name}.tar.gz"; + url = "mirror://pypi/a/actdiag/${name}.tar.gz"; sha256 = "1vr4hnkr0gcvvpaycd8q3vcx029b2f5yv8swhdr8kwspaqb0dvfa"; }; @@ -361,7 +361,7 @@ in modules // { name = "adal-${version}"; src = pkgs.fetchurl { - url = https://pypi.python.org/packages/source/a/adal/adal-0.1.0.tar.gz; + url = mirror://pypi/a/adal/adal-0.1.0.tar.gz; sha256 = "1f32k18ck54adqlgvh6fjhy4yavcyrwy813prjyqppqqq4bn1a09"; }; @@ -415,7 +415,7 @@ in modules // { version = "1.0.1"; src = pkgs.fetchurl { - url = "https://pypi.python.org/packages/source/a/aiodns/${name}.tar.gz"; + url = "mirror://pypi/a/aiodns/${name}.tar.gz"; sha256 = "595b78b8d54115d937cf60d778c02dad76b6f789fd527dab308f99e5601e7f3d"; }; @@ -440,7 +440,7 @@ in modules // { version = "0.21.5"; src = pkgs.fetchurl { - url = "https://pypi.python.org/packages/source/a/aiohttp/${name}.tar.gz"; + url = "mirror://pypi/a/aiohttp/${name}.tar.gz"; sha256 = "0n8517wc8b6yc925f7zhgl4wqf4ay1w2fzar0pj1h20yfa1wiids"; }; @@ -462,7 +462,7 @@ in modules // { name = "alabaster-0.7.7"; src = pkgs.fetchurl { - url = "https://pypi.python.org/packages/source/a/alabaster/${name}.tar.gz"; + url = "mirror://pypi/a/alabaster/${name}.tar.gz"; sha256 = "f416a84e0d0ddbc288f6b8f2c276d10b40ca1238562cd9ed5a751292ec647b71"; }; @@ -483,7 +483,7 @@ in modules // { name = "alembic-0.8.3"; src = pkgs.fetchurl { - url = "https://pypi.python.org/packages/source/a/alembic/${name}.tar.gz"; + url = "mirror://pypi/a/alembic/${name}.tar.gz"; sha256 = "1sgwvwylzd5h14130mwr0cbyy0fil0a1bq0d0ki97wqvkic3db7f"; }; @@ -502,7 +502,7 @@ in modules // { version = "0.4"; src = pkgs.fetchurl { - url = "https://pypi.python.org/packages/source/p/python-editor/${name}.tar.gz"; + url = "mirror://pypi/p/python-editor/${name}.tar.gz"; sha256 = "1gykxn16anmsbcrwhx3rrhwjif95mmwvq9gjcrr9bbzkdc8sf8a4"; }; @@ -517,7 +517,7 @@ in modules // { version = "0.3.8"; src = pkgs.fetchurl { - url = "https://pypi.python.org/packages/source/p/python-gnupg/${name}.tar.gz"; + url = "mirror://pypi/p/python-gnupg/${name}.tar.gz"; sha256 = "0nkbs9c8f30lra7ca39kg91x8cyxn0jb61vih4qky839gpbwwwiq"; }; @@ -540,7 +540,7 @@ in modules // { name = "almir-0.1.8"; src = pkgs.fetchurl { - url = "http://pypi.python.org/packages/source/a/almir/${name}.zip"; + url = "mirror://pypi/a/almir/${name}.zip"; sha256 = "5dc0b8a5071f3ff46cd2d92608f567ba446e4c733c063b17d89703caeb9868fe"; }; @@ -634,7 +634,7 @@ in modules // { disabled = isPy3k; src = pkgs.fetchurl { - url = "http://pypi.python.org/packages/source/a/anyjson/${name}.tar.gz"; + url = "mirror://pypi/a/anyjson/${name}.tar.gz"; sha256 = "37812d863c9ad3e35c0734c42e0bf0320ce8c3bed82cd20ad54cb34d158157ba"; }; @@ -653,7 +653,7 @@ in modules // { disabled = pythonOlder "2.6"; src = pkgs.fetchurl { - url = "https://pypi.python.org/packages/source/a/amqp/${name}.tar.gz"; + url = "mirror://pypi/a/amqp/${name}.tar.gz"; sha256 = "06n6q0kxhjnbfz3vn8x9yz09lwmn1xi9d6wxp31h5jbks0b4vsid"; }; @@ -752,7 +752,7 @@ in modules // { name = "apipkg-1.4"; src = pkgs.fetchurl { - url = "https://pypi.python.org/packages/source/a/apipkg/${name}.tar.gz"; + url = "mirror://pypi/a/apipkg/${name}.tar.gz"; sha256 = "2e38399dbe842891fe85392601aab8f40a8f4cc5a9053c326de35a1cc0297ac6"; }; @@ -769,7 +769,7 @@ in modules // { name = "appdirs-1.4.0"; src = pkgs.fetchurl { - url = "https://pypi.python.org/packages/source/a/appdirs/appdirs-1.4.0.tar.gz"; + url = "mirror://pypi/a/appdirs/appdirs-1.4.0.tar.gz"; sha256 = "8fc245efb4387a4e3e0ac8ebcc704582df7d72ff6a42a53f5600bbb18fdaadc5"; }; @@ -800,7 +800,7 @@ in modules // { name = "appnope-${version}"; src = pkgs.fetchurl { - url = "https://pypi.python.org/packages/source/a/appnope/${name}.tar.gz"; + url = "mirror://pypi/a/appnope/${name}.tar.gz"; sha256 = "8b995ffe925347a2138d7ac0fe77155e4311a0ea6d6da4f5128fe4b3cbe5ed71"; }; @@ -838,7 +838,7 @@ in modules // { src = pkgs.fetchurl { - url = "https://pypi.python.org/packages/source/a/asyncio/${name}.ta |