curl: 7.69.1 -> 7.70.0

This commit is contained in:
Peter Hoeg 2020-05-05 00:47:47 +08:00 committed by Frederik Rietdijk
parent a9d90273d8
commit 9efd23e64d
1 changed files with 6 additions and 5 deletions

View File

@ -28,14 +28,15 @@ assert brotliSupport -> brotli != null;
assert gssSupport -> libkrb5 != null;
stdenv.mkDerivation rec {
name = "curl-7.69.1";
pname = "curl";
version = "7.70.0";
src = fetchurl {
urls = [
"https://curl.haxx.se/download/${name}.tar.bz2"
"https://github.com/curl/curl/releases/download/${lib.replaceStrings ["."] ["_"] name}/${name}.tar.bz2"
"https://curl.haxx.se/download/${pname}-${version}.tar.bz2"
"https://github.com/curl/curl/releases/download/${lib.replaceStrings ["."] ["_"] pname}-${version}/${pname}-${version}.tar.bz2"
];
sha256 = "1s2ddjjif1wkp69vx25nzxklhimgqzaazfzliyl6mpvsa2yybx9g";
sha256 = "1l19b2xmzwjl2fqlbv46kwlz1823miaxczyx2a5lz8k7mmigw2x5";
};
outputs = [ "bin" "dev" "out" "man" "devdoc" ];
@ -119,8 +120,8 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
description = "A command line tool for transferring files with URL syntax";
homepage = "https://curl.haxx.se/";
maintainers = with maintainers; [ lovek323 ];
license = licenses.curl;
maintainers = with maintainers; [ lovek323 ];
platforms = platforms.all;
};
}