nixpkgs/pkgs/development/libraries/boost/1.59.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
774 B
Nix
Raw Normal View History

2022-02-14 15:37:55 +00:00
{ callPackage, fetchurl, fetchpatch, ... } @ args:
2015-08-31 01:13:58 +00:00
2021-04-22 19:38:30 +00:00
callPackage ./generic.nix (args // rec {
2015-08-31 01:13:58 +00:00
version = "1.59.0";
2022-02-14 15:37:55 +00:00
boostBuildPatches = [
# Fixes a segfault on aarch64-darwin from an implicitly defined varargs function.
# https://github.com/boostorg/build/pull/238
(fetchpatch {
url = "https://github.com/boostorg/build/commit/48e9017139dd94446633480661e5447c7e0d8b1b.diff";
excludes = [
# Doesn't apply, isn't critical.
"src/engine/filesys.h"
];
sha256 = "sha256-/HLOJKBcGqcK9yBYKSRCSMmTNhCH3sSpK1s3OzkIqx8";
})
];
2015-08-31 01:13:58 +00:00
src = fetchurl {
2021-04-22 19:38:30 +00:00
url = "mirror://sourceforge/boost/boost_${builtins.replaceStrings ["."] ["_"] version}.tar.bz2";
2015-08-31 01:13:58 +00:00
sha256 = "1jj1aai5rdmd72g90a3pd8sw9vi32zad46xv5av8fhnr48ir6ykj";
};
})