Merge pull request #329636 from mweinelt/curl-8.9.0

curl: 8.8.0 -> 8.9.0
This commit is contained in:
Martin Weinelt 2024-07-31 13:09:10 +02:00 committed by GitHub
commit 90e8307562
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -49,22 +49,16 @@ assert !((lib.count (x: x) [ gnutlsSupport opensslSupport wolfsslSupport rustlsS
stdenv.mkDerivation (finalAttrs: {
pname = "curl";
version = "8.8.0";
version = "8.9.0";
src = fetchurl {
urls = [
"https://curl.haxx.se/download/curl-${finalAttrs.version}.tar.xz"
"https://github.com/curl/curl/releases/download/curl-${builtins.replaceStrings [ "." ] [ "_" ] finalAttrs.version}/curl-${finalAttrs.version}.tar.xz"
];
hash = "sha256-D1i7lfwzDIpG7rPfVwGw2Qydm/zEK9HNCHkdElUdRAA=";
hash = "sha256-/wmyeRylbSX9XD86SSfc58ip3EGCIAxIfKiJ+6H91BI=";
};
patches = lib.optionals (lib.versionOlder finalAttrs.version "8.7.2") [
# https://github.com/curl/curl/pull/13219
# https://github.com/newsboat/newsboat/issues/2728
./8.7.1-compression-fix.patch
];
# this could be accomplished by updateAutotoolsGnuConfigScriptsHook, but that causes infinite recursion
# necessary for FreeBSD code path in configure
postPatch = ''
@ -215,7 +209,7 @@ stdenv.mkDerivation (finalAttrs: {
};
meta = with lib; {
changelog = "https://curl.se/changes.html#${lib.replaceStrings [ "." ] [ "_" ] finalAttrs.version}";
changelog = "https://curl.se/ch/${finalAttrs.version}.html";
description = "Command line tool for transferring files with URL syntax";
homepage = "https://curl.se/";
license = licenses.curl;