nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 callPackage,
5 fetchurl,
6 ...
7}@args:
8
9callPackage ./generic.nix (
10 args
11 // rec {
12 version = "1.87.0";
13
14 src = fetchurl {
15 urls = [
16 "mirror://sourceforge/boost/boost_${builtins.replaceStrings [ "." ] [ "_" ] version}.tar.bz2"
17 "https://boostorg.jfrog.io/artifactory/main/release/${version}/source/boost_${
18 builtins.replaceStrings [ "." ] [ "_" ] version
19 }.tar.bz2"
20 ];
21 # SHA256 from http://www.boost.org/users/history/version_1_87_0.html
22 sha256 = "af57be25cb4c4f4b413ed692fe378affb4352ea50fbe294a11ef548f4d527d89";
23 };
24
25 patches = lib.optional stdenv.hostPlatform.isCygwin ./Fix-cygwin-build-187.patch;
26 }
27)