mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-17 10:40:33 +03:00
Merge pull request #329636 from mweinelt/curl-8.9.0
curl: 8.8.0 -> 8.9.0
This commit is contained in:
commit
90e8307562
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user