Commit graph

58 commits

Author SHA1 Message Date
Vladimír Čunát 7ef4ffac07
Merge #211971: python3Packages.nghttp2: fix build 2023-01-31 12:21:16 +01:00
Robert Scott c2ae0a0b8f python3Packages.nghttp2: fix build
python bindings now need an explicit flag to enable (but are
going to be removed entirely in the next release)
2023-01-21 18:23:56 +00:00
Guillaume Girol 33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00
Damjan Georgievski 515c893cda nghttp2: 1.49.0 -> 1.51.0
fixes `curl: (92) HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (err 1)` when
`curl https://www.nginx.com/`

Changes:
* https://nghttp2.org/blog/2022/09/21/nghttp2-v1-50-0/
> This release adds nghttp2_option_set_no_rfc9113_leading_and_trailing_ws_validation
> which disables checking leading and trailing white spaces against HTTP field value.

* https://nghttp2.org/blog/2022/11/13/nghttp2-v1-51-0/
2022-12-10 02:11:05 +01:00
Jonathan Ringer e0d8990938
c-ares: add cmake to default, c-aresMinimal: init 2022-10-13 13:01:20 -07:00
R. Ryantm c49f26ddd1 nghttp2: 1.47.0 -> 1.49.0 2022-08-25 12:01:40 +00:00
Artturin 8e3e02b015 nghttp2: remove useless nulls and make python3 support build 2022-05-10 00:49:34 +03:00
Alyssa Ross 8685cea963 nghttp2: only run tests on GNU
Fixes pkgsMusl.nghttp2.

Fixes: 32dbdc4388 ("nghttp2: 1.43.0 -> 1.47.0")
2022-03-25 11:11:30 +00:00
c0bw3b 32dbdc4388 nghttp2: 1.43.0 -> 1.47.0
Refactor of the feature switches as there was some invalid combinations.
{c-ares,libev,openssl,zlib} are all strictly needed if we want to build
the applications but are unnecessary when building the lib alone.

Accordingly the overrides  in `fetchurl` and `pythonPackages.nghttp2`
are updated to use `enableApp = false` as they only want libnghttp2.
fetchurl bootstrapping just got lighter. :)

Also enable the checks whenever possible. To run them we need to set
TZDATA environment variable and the `CUnit` tool.
Those tests are made optionals as we don't want to scope `cunit` and
`tzdata` when bootstrapping `fetchurl`.

Also install the Bash completions for h2load, nghttp, nghttpd and nghttpx.

Finally, add `c0bw3b` as maintainer.
2022-03-08 19:32:23 +01:00
Jonathan Ringer 104a7fe846
nghttp2: add curl and libsoup as tests 2022-03-07 09:41:38 -08:00
Martin Weinelt bc90050dab
nghttp2: 1.41.0 -> 1.43.0
https://github.com/nghttp2/nghttp2/releases/tag/v1.42.0
https://github.com/nghttp2/nghttp2/releases/tag/v1.43.0
2021-03-30 09:42:32 +02:00
Ben Siraphob 66e44425c6 pkgs/development/libraries: stdenv.lib -> lib 2021-01-21 19:11:02 -08:00
Jonathan Ringer 9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00
John Ericson 5c2965145f treewide: Inline more of the static overlay
Picking up where #107238 left off. I think I'll have gotten all the easy
stuff with this.
2021-01-03 21:46:14 +00:00
Robert Scott 45f21cbcfc nghttp2: 1.40.0 -> 1.41.0 2020-08-20 09:11:45 +00:00
Matthew Bauer d0677e6d45 treewide: add warning comment to “boot” packages
This adds a warning to the top of each “boot” package that reads:

  Note: this package is used for bootstrapping fetchurl, and thus cannot
  use fetchpatch! All mutable patches (generated by GitHub or cgit) that
  are needed here should be included directly in Nixpkgs as files.

This makes it clear to maintainer that they may need to treat this
package a little differently than others. Importantly, we can’t use
fetchpatch here due to using <nix/fetchurl.nix>. To avoid having stale
hashes, we need to include patches that are subject to changing
overtime (for instance, gitweb’s patches contain a version number at
the bottom).
2020-07-31 08:56:53 +02:00
Michael Reilly 84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Robert Scott 959e9244d9 nghttp2: add python bindings as pythonPackages.nghttp2
it's tricky to enable in nghttp2's default build, however, because it needs
to be usable by curl, a very core nix package, and we get cyclical
dependencies if we add python to its requirements. having it available as
a separate build is better than nothing, though.
2020-03-29 22:32:26 +01:00
Will Dietz d67f29261d nghttp2: 1.39.2 -> 1.40.0 2019-12-15 18:45:29 +01:00
John Ericson 63eac67319 nghttp2: Fix MinGW build by skipping some optional deps
I think those deps could be made to build, but I didn't want to get
bogged down investigating further. "Use flags" are always a good thing,
so this is fine for now.
2019-11-11 14:10:02 -05:00
Will Dietz 0173f83a55 nghttp2: 1.39.1 -> 1.39.2 (security!) (#67057)
https://github.com/nghttp2/nghttp2/releases/tag/v1.39.2
2019-08-31 08:11:47 -04:00
Will Dietz 044b8b6440 nghttp2: 1.38.0 -> 1.39.1
https://nghttp2.org/blog/2019/06/11/nghttp2-v1-39-1/
2019-06-15 18:17:33 +02:00
Will Dietz 21feddd76a nghttp2: 1.37.0 -> 1.38.0
https://nghttp2.org/blog/2019/04/18/nghttp2-v1-38-0/
2019-04-21 11:57:14 -05:00
Will Dietz f58c599bcb nghttp2: 1.36.0 -> 1.37.0
https://nghttp2.org/blog/2019/03/08/nghttp2-v1-37-0/
2019-03-12 16:20:28 -05:00
Will Dietz c7a1b77a67 nghttp2: 1.35.1 -> 1.36.0
https://github.com/nghttp2/nghttp2/releases/tag/v1.36.0
2019-02-22 01:52:38 -06:00
Jörg Thalheim b5c1deca8a
treewide: remove wkennington as maintainer
He prefers to contribute to his own nixpkgs fork triton.
Since he is still marked as maintainer in many packages
this leaves the wrong impression he still maintains those.
2019-01-26 10:05:32 +00:00
Will Dietz f5ea2fbe2b nghttp2: 1.35.0 -> 1.35.1 (#53061)
https://nghttp2.org/blog/2018/12/10/nghttp2-v1-35-1/
2019-01-01 19:24:40 +01:00
Will Dietz d0ed3e5079 nghttp2: 1.34.0 -> 1.35.0
https://nghttp2.org/blog/2018/11/23/nghttp2-v1-35-0/
2018-11-27 09:54:31 -06:00
Will Dietz 950ff37115 nghttp2: grab upstream patch to hopefully fix darwin build error 2018-10-30 18:44:53 -05:00
Will Dietz 8fbfa6f4ef nghttp2: 1.32.0 -> 1.34.0 2018-10-21 08:41:40 +02:00
Matthew Bauer a7c8e30782 nghttp2: make app optional
windows just needs the libraries & the app won’t build
2018-10-17 12:44:23 -05:00
Will Dietz d8b96d5730 nghttp2: 1.31.0 -> 1.32.0
1.31.1 has security fix for CVE-2018-1000168:

https://nghttp2.org/blog/2018/04/12/nghttp2-v1-31-1/
2018-05-22 17:27:11 -05:00
Will Dietz d72a0e711a nghttp2: 1.24.0 -> 1.31.0 2018-03-07 17:15:38 -06:00
Parnell Springmeyer 9dee19030b nghttp2: 1.20.0 -> 1.24.0
This change does three things:

1. Increases nghttp2's version from 1.20.0 to 1.24.0
2. Adds a `bin` output
3. Enables building of nghttp2's suite of applications
2017-08-22 15:12:42 -05:00
John Ericson 4c0d7da183 Get rid of all with { inherit... } and just used let inherit...
The old forms presumably predates, or were made in ignorance of,
`let inherit`. This way is better style as the scoping as more lexical,
something which Nix can (or might already!) take advantage of.
2017-03-30 03:05:05 -04:00
Renaud 5f89c9e92d nghttp2: 1.19.0 -> 1.20.0
Corrected c-ares attribute name

Full changelog : https://nghttp2.org/blog/2017/02/26/nghttp2-v1-20-0/
2017-03-16 22:38:19 +01:00
Renaud f586e4befe nghttp2: 1.17.0 -> 1.19.0
Package update.
New features as documented in changelogs : https://github.com/nghttp2/nghttp2/releases
2017-02-07 21:09:54 +01:00
c0bw3b 6d3183e7da
nghttp2: refactor (close #21029)
Turning the dependencies unrelated to the base libnghttp2 into proper
options.  vcunat modified the commit slightly.
2017-01-06 21:03:11 +01:00
Vladimír Čunát 105fead2aa
nghttp2 cleanup: unneeded patching, unused inputs
Suggested on
https://github.com/NixOS/nixpkgs/pull/21029#issuecomment-266290756
2016-12-11 17:51:47 +01:00
c0bw3b 10d9845a1a nghttp2: 1.16.1 -> 1.17.0
See release notes :
https://github.com/nghttp2/nghttp2/releases/tag/v1.17.0
2016-12-10 00:36:28 +01:00
Franz Pletz 94fe387fcb
nghttp2: 1.14.1 -> 1.16.1 2016-11-26 14:39:12 +01:00
Franz Pletz c8dba2581c
nghttp2: 1.10.0 -> 1.14.1 2016-09-24 04:16:20 +02:00
Tuomas Tynkkynen a17216af4c treewide: Shuffle outputs
Make either 'bin' or 'out' the first output.
2016-08-29 14:49:51 +03:00
Franz Pletz 479a40182a nghttp2: 1.9.2 -> 1.10.0 2016-05-13 17:04:15 +02:00
Eelco Dolstra b4bf432709 nghttp2: 1.8.0 -> 1.9.2, unify with libnghttp2, and use multiple outputs
Note: I ignored the C++ libraries, but it appears we're not currently
using them. Once we do, we'll probably want to put them in a separate
output as well (to prevent non-C++ users from depending on Boost).
2016-04-18 21:13:18 +02:00
Domen Kožar b4d3a7f62b nghttp2: more stable url (hopefully) 2016-04-16 09:51:58 +01:00
zimbatm b776e0cd5f nghttp2: 1.7.1 -> 1.8.0 2016-03-12 16:18:52 +00:00
Franz Pletz ca2611650a nghttp2: 1.3.4 -> 1.7.1 (CVE-2016-1544)
https://lwn.net/Vulnerabilities/675696/
2016-02-27 17:53:22 +01:00
William A. Kennington III 4318aede92 nghttp2: 1.2.1 -> 1.3.4 2015-10-17 11:54:03 -07:00
William A. Kennington III ba7335700a nghttp2: 1.1.2 -> 1.2.1 2015-08-29 18:19:38 -07:00