llvmPackages_10: rc5 -> release

updated hashes and url
updated comment regarding version/release_version to make it clearer
This commit is contained in:
Holger Wünsche
2020-03-25 12:10:05 +01:00
parent 8e8efc7ace
commit 4665b2a9a2
10 changed files with 13 additions and 14 deletions
@@ -6,15 +6,14 @@
let
release_version = "10.0.0";
candidate = "rc5";
version = "10.0.0${candidate}"; # differentiating these is important for rc's
version = release_version; # differentiating these (variables) is important for rc's
fetch = name: sha256: fetchurl {
url = "https://prereleases.llvm.org/${release_version}/${candidate}/${name}-${version}.src.tar.xz";
url = "https://github.com/llvm/llvm-project/releases/download/llvmorg-${release_version}/${name}-${version}.src.tar.xz";
inherit sha256;
};
clang-tools-extra_src = fetch "clang-tools-extra" "0x23q70c0xcwdhj0d66nisr8rqq69qcshrbb4si9pxfsm0zs9h3i";
clang-tools-extra_src = fetch "clang-tools-extra" "074ija5s2jsdn0k035r2dzmryjmqxdnyg4xwvaqych2bazv8rpxc";
tools = stdenv.lib.makeExtensible (tools: let
callPackage = newScope (tools // { inherit stdenv cmake libxml2 python3 isl release_version version fetch; });