Merge pull request #130874 from SuperSandro2000/SuperSandro2000-patch-1

cmake: don't use meta.homepage in fetchurl
This commit is contained in:
Sandro 2021-07-21 13:12:27 +02:00 committed by GitHub
commit 5b4522838c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
version = "3.19.7";
src = fetchurl {
url = "${meta.homepage}files/v${lib.versions.majorMinor version}/cmake-${version}.tar.gz";
url = "https://cmake.org/files/v${lib.versions.majorMinor version}/cmake-${version}.tar.gz";
# compare with https://cmake.org/files/v${lib.versions.majorMinor version}/cmake-${version}-SHA-256.txt
sha256 = "sha256-WKFfDVagr8zDzFNxI0/Oc/zGyPnb13XYmOUQuDF1WI4=";
};