ocaml: Update license

OCaml has switched away from QPL to LGPL2.1 around 10 years ago:
7fc2d214c4
at the 4.04 release.

Nixpkgs does not have such old versions so might as well set the version
for all of them to `lgpl21`.
This commit is contained in:
Marek Kubica
2026-07-02 15:08:32 +02:00
parent c00644f728
commit 5bae6f2287

View File

@@ -214,10 +214,7 @@ stdenv.mkDerivation (
meta = {
homepage = "https://ocaml.org/";
branch = versionNoPatch;
license = with lib.licenses; [
qpl # compiler
lgpl2 # library
];
license = lib.licenses.lgpl21;
description = "OCaml is an industrial-strength programming language supporting functional, imperative and object-oriented styles";
maintainers = [ lib.maintainers.georgyo ];