guix_mirror_bot pushed a commit to branch ocaml-team
in repository guix.
commit c9d4a68c7b00d268046b8f07aa41270a8bad8713
Author: Jason Conroy <[email protected]>
AuthorDate: Wed Feb 4 10:47:04 2026 -0500
gnu: ocaml5: Add ocaml-spdx-licenses.
* gnu/packages/ocaml5.scm (ocaml-spdx-licenses): New variable.
Change-Id: Ib4befc19ab7d5b3442149969e48cd994909bb2d2
Signed-off-by: Julien Lepiller <[email protected]>
---
gnu/packages/ocaml5.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/ocaml5.scm b/gnu/packages/ocaml5.scm
index 61f45a00b2..be3530e911 100644
--- a/gnu/packages/ocaml5.scm
+++ b/gnu/packages/ocaml5.scm
@@ -2461,6 +2461,31 @@ identifiers (swhids). This is the core library, for
most use cases you should
use the swhid library instead.")
(license license:isc)))
+(define-public ocaml-spdx-licenses
+ (package
+ (name "ocaml5-spdx-licenses")
+ (version "1.3.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/kit-ty-kate/spdx_licenses")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "08vh9mfkq34f0l5ka94hhklc43kvz09wd04x1gkxkawn4786rf9z"))))
+ (build-system dune-build-system)
+ (native-inputs (list ocaml-alcotest))
+ (properties `((upstream-name . "spdx_licenses")))
+ (home-page "https://github.com/kit-ty-kate/spdx_licenses")
+ (synopsis "Strict SPDX License Expression parser")
+ (description
+ "This package provides an up-to-date and strict SPDX License Expression
+parser. It implements the format described in:
+https://spdx.github.io/spdx-spec/v2.3/SPDX-license-expressions/
+See https://spdx.org/licenses/ for more details.")
+ (license license:expat)))
+
(define ocaml-opam-core
(package
(name "ocaml5-opam-core")