From 6aa17ff4eba50c2f4fa9e3aefa096f065726348c Mon Sep 17 00:00:00 2001 From: jopejoe1 Date: Thu, 23 Apr 2026 11:32:32 +0200 Subject: [PATCH] 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 --- pkgs/development/ocaml-modules/ocamlnet/default.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pkgs/development/ocaml-modules/ocamlnet/default.nix b/pkgs/development/ocaml-modules/ocamlnet/default.nix index a7d0e734b990..1591aeea6494 100644 --- a/pkgs/development/ocaml-modules/ocamlnet/default.nix +++ b/pkgs/development/ocaml-modules/ocamlnet/default.nix @@ -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"; };