25 lines
611 B
Nix
25 lines
611 B
Nix
|
{
|
||
|
callPackage,
|
||
|
fetchurl,
|
||
|
fetchpatch,
|
||
|
...
|
||
|
}@args:
|
||
|
|
||
|
callPackage ./generic.nix (
|
||
|
args
|
||
|
// rec {
|
||
|
version = "1.82.0";
|
||
|
|
||
|
src = fetchurl {
|
||
|
urls = [
|
||
|
"mirror://sourceforge/boost/boost_${builtins.replaceStrings [ "." ] [ "_" ] version}.tar.bz2"
|
||
|
"https://boostorg.jfrog.io/artifactory/main/release/${version}/source/boost_${
|
||
|
builtins.replaceStrings [ "." ] [ "_" ] version
|
||
|
}.tar.bz2"
|
||
|
];
|
||
|
# SHA256 from http://www.boost.org/users/history/version_1_82_0.html
|
||
|
sha256 = "a6e1ab9b0860e6a2881dd7b21fe9f737a095e5f33a3a874afc6a345228597ee6";
|
||
|
};
|
||
|
}
|
||
|
)
|