ocamlPackages.ocamlnet: don't use stringy license

This is mit bsd3 and gpl3 according to https://gitlab.com/gerdstolpmann/lib-ocamlnet3/-/blob/master/README.md
This commit is contained in:
jopejoe1
2026-04-23 11:32:32 +02:00
parent b932dc513e
commit 6aa17ff4eb
@@ -64,7 +64,13 @@ stdenv.mkDerivation rec {
meta = {
homepage = "http://projects.camlcity.org/projects/ocamlnet.html";
description = "Library implementing Internet protocols (http, cgi, email, etc.) for OCaml";
license = "Most Ocamlnet modules are released under the zlib/png license. The HTTP server module Nethttpd is, however, under the GPL.";
license =
with lib.licenses;
AND [
mit
bsd3
gpl2Only
];
inherit (ocaml.meta) platforms;
broken = lib.versionOlder ocaml.version "4.02" || lib.versionAtLeast ocaml.version "5.0";
};