summary refs log tree commit diff
path: root/pkgs/development/libraries/openexr
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2007-08-23 15:22:30 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2007-08-23 15:22:30 +0000
commit50321b735be9e326dd5b2ab4cc69ae1971ac9594 (patch)
treeafe0dbb47355cbc3ddb5510adfe30dbc39f3460b /pkgs/development/libraries/openexr
parentec9d5c94715feb00c522e81c2f9ceef92ed505fb (diff)
downloadnixpkgs-50321b735be9e326dd5b2ab4cc69ae1971ac9594.tar
nixpkgs-50321b735be9e326dd5b2ab4cc69ae1971ac9594.tar.gz
nixpkgs-50321b735be9e326dd5b2ab4cc69ae1971ac9594.tar.bz2
nixpkgs-50321b735be9e326dd5b2ab4cc69ae1971ac9594.tar.lz
nixpkgs-50321b735be9e326dd5b2ab4cc69ae1971ac9594.tar.xz
nixpkgs-50321b735be9e326dd5b2ab4cc69ae1971ac9594.tar.zst
nixpkgs-50321b735be9e326dd5b2ab4cc69ae1971ac9594.zip
* Basic transparent mirror support in fetchurl (NIXPKGS-70). When
  fetching a file with hash HASH of type TYPE, we first try to
  download <base-url>/<type>/<hash>, where <base-url> is one of a list
  of mirrors.  For instance, given

    src = fetchurl {
      url = http://releases.mozilla.org/pub/mozilla.org/firefox/releases/2.0.0.6/source/firefox-2.0.0.6-source.tar.bz2;
      sha1 = "eb72f55e4a8bf08e8c6ef227c0ade3d068ba1082";
    };

  and the mirror list [http://nix.cs.uu.nl/dist/tarballs], we first
  try to download

    http://nix.cs.uu.nl/dist/tarballs/sha1/eb72f55e4a8bf08e8c6ef227c0ade3d068ba1082

  and if that fails, we use the original URL.

  The list of mirrors is not yet user-configurable.

* `fetchurl' now also accepts an argument `urls' instead of `url' for
  a list of alternative download locations, which fetchurl will try in
  sequence.

svn path=/nixpkgs/trunk/; revision=9190
Diffstat (limited to 'pkgs/development/libraries/openexr')
0 files changed, 0 insertions, 0 deletions