core/pkgs/by-name/bo/boost/1.77.nix
2024-06-30 09:12:46 +01:00

25 lines
598 B
Nix

{
callPackage,
fetchurl,
fetchpatch,
...
}@args:
callPackage ./generic.nix (
args
// rec {
version = "1.77.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_77_0.html
sha256 = "sha256-/J+F/AMOIzFCkIJBr3qEbmBjCqc4jeml+vsfOiaECFQ=";
};
}
)