25 lines
611 B
Nix
25 lines
611 B
Nix
|
{
|
||
|
callPackage,
|
||
|
fetchurl,
|
||
|
fetchpatch,
|
||
|
...
|
||
|
}@args:
|
||
|
|
||
|
callPackage ./generic.nix (
|
||
|
args
|
||
|
// rec {
|
||
|
version = "1.80.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_80_0.html
|
||
|
sha256 = "1e19565d82e43bc59209a168f5ac899d3ba471d55c7610c677d4ccf2c9c500c0";
|
||
|
};
|
||
|
}
|
||
|
)
|