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 4fa25ee93a45df61d97cf7ddd0149bbd954216d0)
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
Jonathan Glines
0672cfcc5f
Added mirrors for sourceforge.jp.
2014-06-08 11:47:37 -06:00
Linquize
f40db99c7b
fetchurl: Fix typo in comment ( close #2591 )
2014-05-13 11:23:50 +02:00
Eelco Dolstra
ea36f3b868
fetchFromGitHub: Use .tar.gz instead of .zip
...
Also clean up the name attribute of fetchzip derivations a bit.
2014-05-09 15:53:44 +02:00
Eelco Dolstra
c8df888858
Add a function "fetchzip"
...
This function downloads and unpacks a file in one fixed-output
derivation. This is primarily useful for dynamically generated zip
files, such as GitHub's /archive URLs, where the unpacked content of
the zip file doesn't change, but the zip file itself may (e.g. due to
minor changes in the compression algorithm, or changes in timestamps).
Fetchzip is implemented by extending fetchurl with a "postFetch" hook
that is executed after the file has been downloaded. This hook can
thus perform arbitrary checks or transformations on the downloaded
file.
2014-05-08 15:30:17 +02:00
Ricky Elrod
4c8aa8f333
Add a bunch of Fedora mirrors and remove an old one
2014-05-06 01:58:43 -04:00
Jason "Don" O'Conal
a577082e5e
re-enable au debian mirror
2014-03-03 21:57:38 +11:00
Eelco Dolstra
83ca2c272a
fetchurl: Ensure that ‘urls’ is a list
2014-02-19 13:58:42 +01:00
Eelco Dolstra
531ff5a43f
Remove currently broken Debian mirror
2013-10-23 11:31:29 +02:00
Justin Bedo
fdc6e4372f
Wrapped R's package system similarly to perlPackages
2013-09-28 13:19:43 +02:00
Jason \"Don\" O'Conal
dff980733a
add au debian mirror
2013-07-04 13:07:40 +02:00
Eelco Dolstra
acba9240cd
nixos.org/tarballs -> tarballs.nixos.org
...
It's currently the same machine, but tarballs.nixos.org should become
an S3/CloudFront site eventually.
2013-06-25 14:12:16 +02:00
Gergely Risko
07b26ce493
fetchUrl: add curlOpts parameter (merge #535 )
2013-05-16 10:45:16 +02:00
Bjørn Forsman
ae5664cc5e
mirrors.nix: add http://backpan.perl.org/ for old CPAN modules
...
It seems only the latest version of perl modules are in CPAN(?). The
BackPan claims to have a complete history of CPAN.
2013-05-03 10:59:36 +02:00
Shea Levy
1670244f80
Merge branch 'vlada/xfce-notg' of git://github.com/vcunat/nixpkgs
...
This branch refactors xfce and updates it to 4.10. I had been hoping to
find someone besides Vlada to test this (I don't use xfce), but no one
has come forward yet in 2 weeks so if this breaks something they can
make an issue or fix it. It all looks good by inspection.
2013-03-08 17:03:22 -05:00
Vladimír Čunát
e979d7ad2f
vlada/xfce
...
Major Xfce refactoring, also adding versions 4.10.*
Signed-off-by: Vladimír Čunát <vcunat@gmail.com>
2013-02-21 12:16:51 +01:00
Eelco Dolstra
2aa6f262cb
Merge remote-tracking branch 'origin/master' into stdenv-updates
2013-02-15 13:36:34 +01:00
Eelco Dolstra
04765da09a
fetchurl: Don't wait too long for the hashed mirrors
...
If the hashed mirror (nixos.org/tarballs) doesn't respond in 15
seconds, give up and try the original URL.
2013-02-06 15:15:28 +01:00
Eelco Dolstra
f337ab4430
fetchurl: Remove some compatibility hacks
2013-02-06 15:00:33 +01:00
Eelco Dolstra
5bb548d2e4
Merge remote-tracking branch 'origin/master' into stdenv-updates
2013-01-17 14:19:14 +01:00
Eelco Dolstra
7fd42a8380
Get rid of the "sf" alias for "sourceforge"
2013-01-14 12:00:32 +01:00
Eelco Dolstra
080f1af51f
Remove savannah mirror that seems to hang
2012-12-29 01:55:00 +01:00
Eelco Dolstra
88dcdc9bed
postgresql: Update to latest versions
2012-12-11 14:08:41 +01:00
Peter Simons
966b4c336d
mirrors.nix: use GNU mirrors before hitting the master site
...
Our first download URL of choice is http://ftpmirror.gnu.org/ , which is an
automatic re-director.
2012-08-22 14:28:50 +02:00
Eelco Dolstra
1baf48f087
Do some let-floating to prevent repeated evaluation of impureEnvVars
2012-08-13 15:15:16 -04:00
Peter Simons
5c1b0582d2
build-support/fetchurl/mirrors.nix: add funet.fi to more mirrors
...
Committed on behalf of Ilja Honkonen <ilja.honkonen@helsinki.fi>.
svn path=/nixpkgs/trunk/; revision=33946
2012-04-29 18:17:50 +00:00
Eelco Dolstra
8fb94bace5
* Remove some obsolete kernel.org mirrors.
...
svn path=/nixpkgs/trunk/; revision=33609
2012-04-05 09:12:38 +00:00
Yury G. Kudryashov
b3709689db
Add modemmanager
...
svn path=/nixpkgs/trunk/; revision=31263
2012-01-04 09:05:22 +00:00
Lluís Batlle i Rossell
faafa3513a
Adding a kernel mirror that at least has the module-init-tools of nixpkgs.
...
svn path=/nixpkgs/trunk/; revision=30020
2011-10-25 17:46:39 +00:00
Ludovic Courtès
d4a560845d
Make `ftp.gnu.org' the first site for GNU stuff.
...
svn path=/nixpkgs/trunk/; revision=29976
2011-10-22 21:55:04 +00:00
Shea Levy
9f3fb4b1ae
Add a working kernel.org mirror
...
svn path=/nixpkgs/trunk/; revision=29541
2011-09-29 20:57:47 +00:00
Yury G. Kudryashov
c130be537b
Add fetchurl_gnome wrapper
...
It just creates correct mirror://gnome/sources/... URL.
svn path=/nixpkgs/trunk/; revision=29377
2011-09-20 06:21:46 +00:00
Peter Simons
a08329b7bb
pkgs/build-support/fetchurl/mirrors.nix: strip trailing whitespace
...
svn path=/nixpkgs/trunk/; revision=29360
2011-09-19 18:25:51 +00:00
Peter Simons
cc1ea39580
Added kernel.org mirror at tu-dresden.de to the list, which is currently reachable (unlike the kernel.org domain).
...
svn path=/nixpkgs/trunk/; revision=29359
2011-09-19 18:25:47 +00:00
Eelco Dolstra
8782b43c45
* Another mirror for old openSUSE releases.
...
svn path=/nixpkgs/trunk/; revision=28388
2011-08-08 13:58:52 +00:00
Lluís Batlle i Rossell
ee8b05eb70
Adding 'wakelan', to use UDP wake on lan on ethernet.
...
svn path=/nixpkgs/trunk/; revision=26912
2011-04-20 20:55:46 +00:00
Eelco Dolstra
4b50191fd4
* Remove a not very useful message that didn't get printed anyway
...
because the test condition was wrong.
svn path=/nixpkgs/trunk/; revision=26147
2011-03-03 14:59:58 +00:00
Yury G. Kudryashov
f736995e07
Prefer upstream mirror system to our hand-written mirror list.
...
svn path=/nixpkgs/trunk/; revision=25863
2011-02-09 21:09:48 +00:00
Lluís Batlle i Rossell
fca582bff0
Updating from trunk. I had to resolve the pcre and some stdenv2 in all-packages
...
svn path=/nixpkgs/branches/stdenv-updates/; revision=24155
2010-10-07 21:21:31 +00:00
Eelco Dolstra
17670a5412
* Add some openSUSE mirrors that still have 10.3 and 11.0.
...
svn path=/nixpkgs/trunk/; revision=24053
2010-10-04 14:30:34 +00:00
Lluís Batlle i Rossell
46082f25f9
Updating from trunk
...
svn path=/nixpkgs/branches/stdenv-updates/; revision=23027
2010-08-07 20:14:04 +00:00
Lluís Batlle i Rossell
229883730e
Removing some nongnu mirrors that don't work for me.
...
Feel free to check them back in if they work for you.
svn path=/nixpkgs/branches/stdenv-updates/; revision=22978
2010-08-05 22:02:13 +00:00
Eelco Dolstra
aded38809b
* Turn on `preferLocalBuild' for fetchurl.
...
svn path=/nixpkgs/trunk/; revision=22948
2010-08-04 12:37:03 +00:00
Eelco Dolstra
12ede4793f
* Add ftp-archives.postgresql.org as a fallback for PostgreSQL
...
downloads.
* PostgreSQL updated to 8.3.11, 8.4.4.
svn path=/nixpkgs/trunk/; revision=22365
2010-06-21 20:43:05 +00:00
Eelco Dolstra
3962afb3a7
* Add a fallback for Debian releases (in particular `etch').
...
svn path=/nixpkgs/trunk/; revision=22355
2010-06-21 12:19:34 +00:00
Eelco Dolstra
7a1dde5d25
* Fix the download of discontinued openSUSE releases.
...
svn path=/nixpkgs/trunk/; revision=22324
2010-06-18 11:49:57 +00:00
Eelco Dolstra
b49f21d5e8
* Add a fallback mirror for very old Ubuntu releases.
...
svn path=/nixpkgs/trunk/; revision=22262
2010-06-14 17:22:56 +00:00
Yury G. Kudryashov
c74d23dbdf
Fix typo, thanks to Rob Vermaas
...
svn path=/nixpkgs/trunk/; revision=22031
2010-05-28 06:49:32 +00:00
Yury G. Kudryashov
952bc80b4d
Let fetchurl retry failed downloads. Add NIX_CURL_FLAGS impure var
...
svn path=/nixpkgs/trunk/; revision=22006
2010-05-27 18:59:19 +00:00
Yury G. Kudryashov
796ffd9f71
Move "fetchurl restricted" code to requireFile.
...
This reverts r21474 and r21467.
Also migrate wtk (r21472) to new API.
svn path=/nixpkgs/trunk/; revision=21575
2010-05-03 09:13:17 +00:00
Yury G. Kudryashov
3e1e56e10c
fetchurl restricted: list nix-prefetch-url as well
...
svn path=/nixpkgs/trunk/; revision=21474
2010-05-01 07:07:36 +00:00