Nikolay Amiantov
e848ffe48c
fetchurl mirrors: move steamrt mirror to another host
...
This one is hosted in a cloud so hopefully incidents like
https://github.com/NixOS/nixpkgs/pull/66853 won't repeat.
2019-08-19 01:26:01 +03:00
Mario Rodas
2a86ffa8e2
mirrors: update apache mirrors
...
+ Add backup mirrors
+ Remove unreachable mirror wwwftp.ciril.fr
+ Use https on apache mirrors
2019-07-15 20:44:55 -05:00
Eelco Dolstra
267c8d6b2f
fetchurl (and derived functions): Support SRI hashes
...
E.g.
fetchFromGitHub {
owner = "NixOS";
repo = "nix";
rev = "ad42a784690449873fccb20192bd2150da81c56d";
hash = "sha256-ZXeadXUJMXV5lSLz6TOBeL/SSOVwQ8ywxU5AFMCnbRU=";
}
2019-07-11 15:52:35 +02:00
Ben Hipple
14a7161fa5
mirrors.nix: add alsa-project.org for alsa
...
Aside from being an HTTPS endpoint, this is the canonical mirror for alsa
project downloads.
2019-07-09 19:05:59 +00:00
Mario Rodas
b2e56ccea0
mirrors: add osdn mirrors
2019-06-08 23:37:36 -05:00
Mario Rodas
c0eaf5e917
mirrors: rename sourceforgejp to osdn
...
SourceForge.jp renamed to OSDN on May 11, 2015.
https://osdn.net/projects/sourceforge/news/24923
2019-06-08 23:25:47 -05:00
Graham Christensen
b26153450c
Merge pull request #48325 from transumption/201810/warn-on-fetchurl-rev-archives
...
fetchurl: warn on rev archives, resolves #32999
2019-04-24 12:09:35 -04:00
Matthew Bauer
eaa5e85b35
haskell: add more hackage mirrors, use mirrors in more places
...
Fixes #58971
2019-04-05 13:51:56 -04:00
Ben Hipple
0fb7c7af88
mirrorx.nix: add https and http mirrors for gcc
...
HTTP is never worse and often better than FTP, since many users may be on
networks that do not allow FTP traffic.
2019-02-16 01:26:31 +00:00
Jörg Thalheim
eac6797380
prefer-fetch-remote: an overlay to fetch on remote builders
...
This is useful when running tools like NixOps or nix-review
on workstations where the upload to the builder is significantly
slower then downloading the source on the builder itself.
2019-01-18 14:41:10 +00:00
Lengyel Balazs
d848495a9f
xorg: update mirrors to https and remove an outdated one
2019-01-04 14:38:57 +01:00
volth
a0d15a0c68
mirrors.nix: remove bad cpan mirrors
2018-12-19 01:19:08 +00:00
Benjamin Hipple
8dbc8e586c
fetchurl: refresh and add extra KDE mirrors
...
* fetchurl: fix and add extra KDE mirrors (#51480 )
- The gwdg.de mirror has moved the relative path of its KDE tarballs
- Add new mirrors from Berkeley and MIT, which are on the list of officially supported mirrors
https://download.kde.org/extra/download-mirrors.html
* More KDE mirror touchups
- The official one is a redirect to HTTPS anyways, so go directly to HTTPS
- Add China USTC for Asian users
- Swap Finland university from FTP to HTTP
* fetchurl: keep one ftp KDE mirror
2018-12-08 15:39:05 +01:00
Jan Malakhovski
8dcf831978
fetchurl: mirrors: http -> https, https before http, http before ftp
...
Because HTTP has a higher probability of working behind proxies.
2018-11-22 09:38:22 +00:00
Yegor Timoshenko
6fad2ae94b
fetchurl: warn on rev archives, resolves #32999
2018-10-16 13:46:19 +00:00
Timo Kaufmann
082169ab02
fetchurl: add sageupstream mirror
2018-06-30 01:20:44 +02:00
Daniel Peebles
363363298c
Merge pull request #17757 from copumpkin/fetchurl-user-agent
...
fetchurl: add user agent
2018-06-11 12:49:06 -04:00
Yegor Timoshenko
f44012ba10
lib.release -> lib.trivial.release
2018-06-11 02:14:18 +00:00
Yegor Timoshenko
5a232b0f5b
Leverage lib.release
2018-06-11 01:50:06 +00:00
Yegor Timoshenko
a26d9e3ba8
Readd --retry 3
2018-06-11 01:48:00 +00:00
Benjamin Hipple
d81ab0ab7d
alsa: setup mirrors for src downloads ( #41761 )
...
This commit adds a list of supported mirrors for all alsa projects, as described
on the download section of the alsa-project hompage:
http://alsa-project.org/main/index.php/Download
2018-06-10 20:56:20 +02:00
Orivej Desh
5ac2382487
mirrors: remove obsolete mysql mirror
...
It does not contain any of the versions currently in Nixpkgs.
2018-05-29 13:41:23 +00:00
Yegor Timoshenko
16ed09a10e
Merge branch 'master' into fetchurl-user-agent
2018-05-18 10:39:44 +03:00
Franz Pletz
4f17851fb2
fetchurl: remove broken samba mirror
2018-03-13 17:15:33 +01:00
Jan Malakhovski
a89899ce4e
fetchurl: cleanup, better errors
...
Also fix what seems like bugs in uncommon `stdenv`s.
2018-02-18 14:24:53 +00:00
John Ericson
940c4fa3f5
treewide: Fetchers should use stdenvNoCC
.
2018-01-10 11:18:44 -05:00
John Ericson
3d59b4d285
treewide: Fixed output fetch* derivations should use nativeBuildInputs
2018-01-09 20:14:46 -05:00
Dan Peebles
0cb623c3d9
fetchurl: add user agent
...
It would be nice to be able to track Nix requests. It's not trustworthy,
but can be helpful for stats and routing in HTTP logs.
Since `fetchurl` is used so widely, we should "magically" get a UA on
`fetchzip`, `fetchFromGitHub`, and other related fetchers.
Since `fetchurl` is only used for fixed-output derivations, this should
cause no mass rebuild.
User-Agent example: curl/7.57.0 Nixpkgs/18.03
2017-12-23 22:20:56 +00:00
Frederik Rietdijk
ef21b240c8
fetchurl: add passthru
...
so that we could add e.g. the `version` attribute.
2017-11-05 10:12:19 +01:00
volth
0d80fabbf9
mirrors: update apache and cpan mirrors
...
removed dead mirrors, added new
2017-08-24 04:22:07 +00:00
Frederik Rietdijk
13bbaee21d
Merge pull request #27881 from mimadrid/fix/http-https
...
Update homepage attributes: http -> https
2017-08-13 21:53:20 +02:00
Robin Gloster
2d64d1e601
fetchurlBoot: add name attr
2017-08-04 08:22:04 +02:00
mimadrid
09e0cc7cc7
Update homepage attributes: http -> https
...
Homepage link "http://.../ " is a permanent redirect to "https://.../ " and should be updated
https://repology.org/repository/nix_stable/problems
2017-08-03 11:56:15 +02:00
Thomas Tuegel
c25199f697
fetchurl: remove unpaired call to `stopNest'
...
Fixes #27406 .
Commit 5d4efb2c81
added an assertion to `stopNest'
which requires it be correctly paired with `startNest'. `fetchurl' calls
`stopNest', but never calls `startNest'; the former calls are removed.
2017-07-21 15:45:29 -05:00
Jan Malakhovski
d73ef2636f
fetchurl: add some https ImageMagick mirrors
2017-06-07 15:27:03 +02:00
Shea Levy
b71b7ee622
fetchFromGitHub: Allow private repos, hosted githubs
2017-05-19 15:38:01 -04:00
Sven Slootweg
fa8adf2c47
fetchurl: fixed typo in error message
...
This typo was likely introduced by copy-pasting the error message from elsewhere and forgetting to change the text, during the MD5 deprecation process (#4491 ).
2017-04-21 16:41:09 +02:00
Robin Gloster
f57185db95
fetch-*: remove md5 support
...
fixes #4491
2017-03-20 22:23:41 +01:00
Daniel Peebles
1f779398c9
Merge pull request #20444 from NeQuissimus/java_packages
...
Java packages
2017-02-27 20:04:56 -05:00
Profpatsch
21cdf340db
pythonPackages: use a more direct mirror ( #22833 )
...
The pypi.io domain is redirected two (!) times and lands on the URL added by
this commit.
2017-02-15 15:40:31 +01:00
Tim Steinbach
8a7a44c918
javaPackages: Use artifactId/groupId
2017-02-13 18:40:13 -05:00
Eelco Dolstra
11621b9ec0
samba: Fix URL
...
Fixes #22527 .
2017-02-07 20:23:56 +01:00
Vladimír Čunát
a652099c46
fetchurl: change to grep -E to fix #8561
...
Close #21861 .
2017-01-13 19:07:07 +01:00
Eelco Dolstra
e3a873479e
Remove fetchMD5warn
...
Deprecation warnings should not be used in Nixpkgs because they spam
innocent "nix-env -qa" users with (in this case) dozens of messages
that they can't do anything about.
This also reverts commit 2ca8833383
.
2016-11-30 15:14:30 +01:00
Tim Steinbach
d849c0e2e1
Build support
2016-11-14 15:19:33 -05:00
Michael Raskin
f603dc11a6
fetch*: print a trace warning about md5 deprecation
2016-10-09 16:19:04 +02:00
Eelco Dolstra
ac03df96ba
openssl: 1.0.1t -> 1.0.1u, 1.0.2h -> 1.0.2i, 1.1.0 -> 1.1.0a
...
https://www.openssl.org/news/secadv/20160922.txt
2016-09-22 15:05:09 +02:00
Profpatsch
61462c94e6
lib/fetchers.nix: factor out impure proxy vars ( #18702 )
...
Apparently everyone just copied those variables, instead of creating a
library constant for them. Some even removed the comment. -.-
2016-09-17 21:50:01 +02:00
cmfwyp
eb6f576ffd
fetchurl: update Savannah mirrors
2016-08-20 03:21:05 +03:00
cmfwyp
37c83ca3a2
sage: update mirrors
...
The list of mirrors is at https://www.sagemath.org/mirrors.html .
2016-08-07 21:09:14 -04:00
J Phani Mahesh
c4fa18b7a2
mirrors: add downloads.sourceforge.net
...
downloads.sourceforge.net is the official way to download tarballs from
SourceForge. However, it is reported as unreliable due to SF's weird
load balancing system.
This commit gives the official mirror utmost priority, and will use
other configured mirrors (which may be temporary) as a fallback only
when the official one can't be reached/download fails/hangs.
References: NixOs/nixpkgs#16900
2016-07-15 13:20:35 +05:30
Vladimír Čunát
af364c0f77
fetchurl mirrors: fix gnupg URLs
...
Some mirrors were missing /gcrypt. Now they should be consistent.
Fixes 15510. Closes 15511.
2016-05-17 11:35:49 +02:00
Eelco Dolstra
cb37ab146b
Add mirror://mozilla scheme
2016-05-09 19:37:22 +02:00
Frederik Rietdijk
d5e6a4494a
Python: use PyPI mirror ( #15001 )
...
* mirrors: add pypi
* Python: Use pypi mirror for all PyPI packages
2016-04-26 13:38:03 +01:00
Domen Kožar
0f9268e52c
fetchurl: assert required Nix version for sha512
2016-04-14 12:50:21 +01:00
Eelco Dolstra
3ecbe604ef
fetchurl: Support SHA-512 hashes
2016-04-13 14:11:14 +02:00
Eelco Dolstra
e6f61b4cf3
fetchurlBoot: Use Nix's builtin fetchurl function
...
This removes the need for curl in bootstrapTools, and enables https
for bootstrap tarballs.
2016-02-27 20:27:24 +01:00
Tony White
4806cddda3
fetchurl: use kernel.org cdn by default
...
- use http://cdn.kernel.org/pub/ as the default mirror
for kernel source requests.
Discovered by browsing :
https://www.kernel.org/introducing-fastly-cdn.html
2016-02-26 21:32:00 +00:00
zimbatm
69059602ff
Merge pull request #13111 from tsion/simplify-assert
...
Simplify fetchurl assertion logic.
2016-02-23 22:42:27 +00:00
Nikolay Amiantov
9525abdeec
steamPackages.runtime: use mirrors, add my mirror
2016-02-19 14:10:09 +03:00
Scott Olson
43a523526d
Require at least one of url or urls in fetchurl.
2016-02-19 03:18:21 -06:00
Scott Olson
9cf93ba135
Simplify fetchurl assertion logic.
...
The two lines I removed technically assert the exact same thing, since `!a -> b`
is equivalent to `a || b`. So, I replaced the two lines with the more symmetric
form to make it clearer.
2016-02-18 22:39:43 -06:00
Domen Kožar
c7383cb34b
fetchurl: support executables
2016-01-19 11:17:49 +01:00
Eelco Dolstra
bb672805cd
fetchurl: Always use tarballs.nixos.org
...
Otherwise, if the upstream mirror changes (rather than deletes) a
file, then tarballs.nixos.org won't be used even if it has a copy of
the original file, and so we'll get a hash mismatch.
2015-12-10 16:06:12 +01:00
Peter Simons
65f3932f6e
Update list of gnupg.org mirror sites.
...
The list we had before contained a lot of junk, i.e. sites that were no
longer online or no longer in sync. The new list of sites comes from
https://gnupg.org/download/index.html .
2015-12-04 21:11:22 +01:00
Nikolay Amiantov
287f99bada
r-modules: use HTTPS, allow passing args from generated set, use MRAN
2015-11-25 11:39:28 +01:00
ts468
db25ece3c8
fetchurl/builder.sh: style fix, close #10260
2015-10-07 09:48:58 +02:00
宋文武
9e2df43e2e
mirrors: add httpredir.debian.org as the first debian mirror
2015-09-08 20:02:59 +08:00
Tobias Geerinckx-Rice
5385a0a82a
cassandra: use mirrors
...
Upstream likes to move "old" releases to an archive mirror as soon as a
new one is released. This is now handled for free by mirrors.nix.
(No idea why cs.utah.edu was used to begin with; it's now added to
mirrors.nix. Note that it doesn't support SSL, but that applies to
several others so I don't see the harm.)
2015-09-02 20:04:11 +02:00
John Chee
b80a497b85
mirrors: more imagemagick mirrors ( close #8695 )
...
This is more-or-less the mirrors modifications from #8302 .
2015-07-18 10:14:30 +02:00
Peter Simons
bb42c215e2
R: improve support for CRAN and Bioconductor package sets
...
- Update the instructions for re-generating each of the package set files.
- Provide test-evaluation.nix expression to verify that the package sets evaluates.
- Update list of known broken packages.
2015-06-17 23:19:56 +02:00
Jeffrey David Johnson
93a742fd28
R: add support for Bioconductor packages
2015-06-17 23:19:56 +02:00
Vladimír Čunát
6c382151fb
imagemagick: remove mirrors that don't work
...
/cc #8302 .
2015-06-15 11:30:28 +02:00
Pascal Wittmann
9aa07ac846
sourceforge: remove unreachable mirrors
2015-06-11 12:28:46 +02:00
Mateusz Kowalczyk
330758e788
cran: remove bad mirror
...
Gives ‘welcome to nginix’ pages
2015-06-10 17:21:48 +01:00
Jan Malakhovski
bdf32ed2ab
fetchurl: allow adding meta info; fetchFrom*: add meta.homepage
...
The point of this is to be able to do `meta.homepage = src.meta.homepage;`
instead of the usual copy-paste for the packages that are hosted
on these hosting services.
2015-05-24 14:26:39 +00:00
Ryan Mulligan
93f1029b0f
Get rid of fetchurlGnome
...
closes #1707
2015-04-04 22:22:12 -07:00
Vladimír Čunát
c00d36f6c1
fetchurl: fix typo from 105154afed
pushed today
2015-02-22 20:27:29 +01:00
Vladimír Čunát
105154afed
fetchurl: build the mirror list locally
2015-02-22 19:26:22 +01:00
Nikolay Amiantov
621d1ab444
R: update mirrors
2015-02-18 15:41:46 +03:00
Florian Friesdorf
e82e14ef60
mirrors: move more reliable postgresql mirror up
...
Picked from #6101 .
2015-02-14 10:31:12 +01:00
Eelco Dolstra
3786f08d25
Add Fedora 21
2015-02-10 11:32:43 +01:00
Edward Tjörnhammar
33a8a51657
fetchurl: collate samba project urls into a mirror
2015-02-08 22:29:27 +01:00
Domen Kožar
ee74e1a055
solr: 4.10.2 -> 4.10.3, CVE-2014-3628
...
(cherry picked from commit 4fa25ee93a
)
Signed-off-by: Domen Kožar <domen@dev.si>
2015-02-04 11:48:28 +01:00
Charles Strahan
e4bf6c3f17
gpgme: use different mirror
2015-01-24 17:06:44 -05:00
Franz Pletz
07e1566b7d
fetchurl: add mirrors for OpenBSD ( close #5551 )
...
This changes source URLs for openssh and libressl accordingly.
2015-01-20 16:24:00 +01:00
vi
0c49b2942e
Added mirrors for MySQL.
2014-12-17 11:14:46 +00:00
Vladimír Čunát
b1803465d9
imagemagick: use a stable URL, reshuffle mirrors
...
CC: #5133 .
2014-11-26 21:42:42 +01:00
Domen Kožar
909b62fa6e
fetchurl: friendly message if hash is not given
2014-11-23 17:49:32 +01:00
Joachim Fasting
71a443c1b2
Add mirrors for sage
2014-11-03 23:04:44 +01:00
Raffael Mancini
3ee2ca1d21
Added an up-to-date http debian mirror for those without ftp access.
2014-10-25 17:10:22 +02:00
Edward Tjörnhammar
a5af1c228e
Adding fetchurl mirrors for roy marples projects(dhcpcd, openresolv)
2014-10-23 19:45:33 +02:00
Aristid Breitkreuz
5c0816567d
fix fetchurl
2014-10-05 19:23:27 +02:00
Domen Kožar
d6b7778753
fetchurl: fix mirroring after ecf5a08831
2014-10-05 09:53:18 +02:00
Domen Kožar
fd48e801d2
fetchurl: resume download of curl exits with status code 18
2014-10-01 13:58:42 +02:00
Patrick Mahoney
d314461278
Add http mirror for postgresql.
2014-08-14 19:17:26 +02:00
Igor Pashev
26f47ba388
Fixed main Savannah mirror directory
2014-07-14 15:39:08 +02:00
Justin Bedo
0a12a50b11
Removed CRAN mirror that was incorrectly handling 404 errors, causing
...
builder to abort.
2014-07-08 11:00:41 +10:00
Michael Raskin
d41a7bd9e2
Merge pull request #2871 from auntieNeo/kochi-substitute
...
Added Kochi substitute Japanese font package
2014-06-30 10:14:14 +04:00
Benno Fünfstück
7ac13c40ab
Add hackage mirror to mirrors.nix
2014-06-21 20:15:45 +02:00