Commit graph

40 commits

Author SHA1 Message Date
Robert Helgesson 7fb1be82f4
libwebsockets: build static library only when necessary 2022-12-28 16:37:08 +01:00
Robert Helgesson 7e74ec53da
libwebsockets: use multiple outputs
This considerably lowers the closure size of packages that just need
the libraries at runtime. The difference is roughly 60–70MiB.
2022-12-28 16:37:07 +01:00
Rick van Schijndel bcd5ad6d83 libwebsockets: remove generic function, format
Formatted with nixpkgs-fmt.
2022-07-06 22:02:40 +02:00
Rick van Schijndel d819f15503 libwebsockets: 4.3.1 -> 4.3.2
Drop the upstreamed patch that was required for fixing ttyd.
Changes: https://github.com/warmcat/libwebsockets/compare/v4.3.1...v4.3.2
2022-07-05 10:37:07 +02:00
Rick van Schijndel d9d51eec4f libwebsockets: disable -Werror
Doesn't make sense to enable that in nixpkgs.
2022-05-03 22:10:31 +02:00
Rick van Schijndel 14d5488221 libwebsockets: drop unmaintained older versions
Not used in nixpkgs anymore and not maintained upstream.
2022-05-01 22:48:45 +02:00
Rick van Schijndel da80a59e8f libwebsockets: 4.3.0 -> 4.3.1
Changelog (there's no official one):
- https://github.com/warmcat/libwebsockets/compare/v4.3.0...v4.3.1

Also apply a patch required to make ttyd build again.
This is probably due to a bug in the lws cmake module,
which may only be exercised in this package.
See also https://github.com/tsl0922/ttyd/issues/918.
2022-04-24 21:16:17 +02:00
Rick van Schijndel 065992e4f8 mosquitto: use libwebsockets 4.x
This requires us to enable LWS_WITH_EXTERNAL_POLL.
Since only mosquitto needs that and upstream discourages enabling it,
we'll just do it in an override in mosquitto.
2021-11-23 19:15:33 +01:00
Fabian Affolter fff9b8271d libwebsockets: 4.2.1 -> 4.3.0 2021-10-09 12:44:17 +02:00
Fabian Affolter ddc3acae9d libwebsockets: 4.2.0 -> 4.2.1 2021-08-26 12:52:13 +02:00
Sandro 4eeb416787
libwebsockets: cleanup 2021-07-20 10:47:18 +02:00
kvtb 1a40d6e37f
libwebsockets: remove runtime reference to GCC (closure size) 2021-07-19 09:36:01 +00:00
Rick van Schijndel 0891da9bf5 libwebsockets: remove older 4.x packages 2021-05-15 20:34:01 +02:00
Rick van Schijndel aeec6cbdb1 libwebsockets: add 4.2.0 2021-05-15 18:51:48 +02:00
Rick van Schijndel 51d401fec4 libwebsockets: add myself as maintainer 2021-03-12 19:21:12 +01:00
Rick van Schijndel 03b6aa509a libwebsockets: improve cross-compilation support
Building works on aarch64-multiplatform:

- libwebsockets_3_1
- libwebsockets_3_2
- libwebsockets_4_0
- libwebsockets_4_1
2021-03-11 23:09:31 +01:00
Fabian Affolter 4b4628c7fc libwebsockets: update license details 2021-01-30 23:41:14 +01:00
Fabian Affolter 5ae16951b7 libwebsockets: enable 4.1.x series 2021-01-30 23:40:29 +01:00
Fabian Affolter 27f6d851bb libwebsockets: 4.0.1 -> 4.0.21 2021-01-30 22:13:24 +01:00
Ben Siraphob 66e44425c6 pkgs/development/libraries: stdenv.lib -> lib 2021-01-21 19:11:02 -08:00
Leo Gaskin 137d95c9b2 libwebsockets: Change default CMake flags for package
The libwebsockets package is now built with support for IPv6 and
SOCKS5 in addition to general plugin support.
2020-07-09 00:27:28 +02:00
Daiderd Jordan e002920d8c
libwebsockets: fix clang build 2020-07-01 20:58:30 +02:00
volth 0f2d390a6e
libwebsockets_4_0: 4.0.0 -> 4.0.1 2020-04-04 15:26:22 +00:00
volth 471ca1213d libwebsockets: 3.2.0 -> 3.2.2; init as 4.0.0 2020-03-09 11:35:41 +00:00
Peter Hoeg b02b889255 libwebsockets: re-init 3.1 2019-09-16 12:36:33 +08:00
Vladimír Čunát 2e6bf42a22
Merge branch 'master' into staging-next
There ver very many conflicts, basically all due to
name -> pname+version.  Fortunately, almost everything was auto-resolved
by kdiff3, and for now I just fixed up a couple evaluation problems,
as verified by the tarball job.  There might be some fallback to these
conflicts, but I believe it should be minimal.

Hydra nixpkgs: ?compare=1538299
2019-08-24 08:55:37 +02:00
R. RyanTM 82eb1fbee5 libwebsockets: 3.1.0 -> 3.2.0
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/libwebsockets/versions
2019-08-19 11:26:29 -07:00
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Daniel Schaefer bac4d95aa2 treewide: Change URLs to HTTPS
Lots of URLs were HTTP redirect to HTTPS. Changed those and checked them
if there's actual content. Inspired by
https://github.com/NixOS/nixpkgs/issues/60004
2019-04-22 10:19:54 +02:00
R. RyanTM 8bb236c4d5 libwebsockets: 3.0.1 -> 3.1.0
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/libwebsockets/versions
2018-12-17 01:03:19 +00:00
R. RyanTM 85f60cbeb0 libwebsockets: 3.0.0 -> 3.0.1 (#47020)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/libwebsockets/versions
2018-09-21 01:03:24 +02:00
Markus Kowalewski c7f081a921
libwebsockets: update homepage 2018-09-02 20:28:24 +02:00
R. RyanTM 5f41c98f89 libwebsockets: 2.4.2 -> 3.0.0
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/libwebsockets/versions.

These checks were done:

- built on NixOS
- Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.)
- found 3.0.0 with grep in /nix/store/m8jcyxq9zxn19vzwmvy8jld4kmjcwnmj-libwebsockets-3.0.0
- directory tree listing: https://gist.github.com/3fda3b4331b75bec575d1a71ba21e84a
2018-05-12 13:43:04 +02:00
Ryan Mulligan 1d93c684d5 libwebsockets: 2.4.1 -> 2.4.2
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done:

- built on NixOS
- Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.)
- found 2.4.2 with grep in /nix/store/y3zmgw1wy80xwfmjx8d97nvrr5qfzrmp-libwebsockets-2.4.2
- found 2.4.2 in filename of file in /nix/store/y3zmgw1wy80xwfmjx8d97nvrr5qfzrmp-libwebsockets-2.4.2
2018-03-14 19:19:59 -07:00
Ryan Mulligan 221f93779d libwebsockets: 2.3.0 -> 2.4.1
Semi-automatic update. These checks were performed:

- built on NixOS
- found 2.4.1 with grep in /nix/store/lm20nl7bdr3fmnagp48b4a7pjagv5qdf-libwebsockets-2.4.1
- found 2.4.1 in filename of file in /nix/store/lm20nl7bdr3fmnagp48b4a7pjagv5qdf-libwebsockets-2.4.1

cc ""
2018-02-26 21:28:40 -08:00
Jörg Thalheim c1de354a3d libwebsockets: revert making libuv a propagated build input
it is possible to use libwebsockets without libuv

cc @volth
2017-09-20 02:49:31 +01:00
Jörg Thalheim 6d423da7cc libwebsockets: fix eval 2017-09-19 21:14:53 +01:00
volth 4916f64948 libwebsockets: 1.4 -> 2.3.0 2017-09-19 20:30:51 +01:00
Tuomas Tynkkynen bac26e08db Fix lots of fetchgit hashes (fallout from #15469) 2016-06-03 17:17:08 +03:00
Chetan Taralekar d3f5461aef Add libwebsockets package 2015-09-13 13:59:03 -05:00