diff options
author | Hunter Jones <hjones2199@gmail.com> | 2021-04-22 14:38:30 -0500 |
---|---|---|
committer | Hunter Jones <hjones2199@gmail.com> | 2021-09-17 12:06:17 -0500 |
commit | 2e34bfb45ab7d074009653a32daf8aa69cc9f4e2 (patch) | |
tree | e1298936f6ca3352388bc1702cdcd0b27b0bcd10 /pkgs/development/libraries/boost/1.75.nix | |
parent | 261c4ff0af612d67b5e74e8ae424300095157fb7 (diff) |
boost: generalize version numbers
Diffstat (limited to 'pkgs/development/libraries/boost/1.75.nix')
-rw-r--r-- | pkgs/development/libraries/boost/1.75.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/libraries/boost/1.75.nix b/pkgs/development/libraries/boost/1.75.nix index ff1073bd02681..1432899f99673 100644 --- a/pkgs/development/libraries/boost/1.75.nix +++ b/pkgs/development/libraries/boost/1.75.nix @@ -5,8 +5,8 @@ callPackage ./generic.nix (args // rec { src = fetchurl { urls = [ - "mirror://sourceforge/boost/boost_1_75_0.tar.bz2" - "https://dl.bintray.com/boostorg/release/1.75.0/source/boost_1_75_0.tar.bz2" + "mirror://sourceforge/boost/boost_${builtins.replaceStrings ["."] ["_"] version}.tar.bz2" + "https://dl.bintray.com/boostorg/release/${version}/source/boost_${builtins.replaceStrings ["."] ["_"] version}.tar.bz2" ]; # SHA256 from http://www.boost.org/users/history/version_1_75_0.html sha256 = "953db31e016db7bb207f11432bef7df100516eeb746843fa0486a222e3fd49cb"; |