guix_mirror_bot pushed a commit to branch ocaml-team
in repository guix.

commit 8483f3cabacb5a2a0b9d756d3e97c5bf0fa41ba1
Author: Jason Conroy <[email protected]>
AuthorDate: Wed Feb 4 10:32:02 2026 -0500

    gnu: ocaml5: Add ocaml-swhid-core.
    
    * gnu/packages/ocaml5.scm (ocaml-swhid-core): New variable.
    
    Change-Id: If4c5011f1607beb0894bf99b8fa3337f64fd72de
    Signed-off-by: Julien Lepiller <[email protected]>
---
 gnu/packages/ocaml5.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/ocaml5.scm b/gnu/packages/ocaml5.scm
index dcd439836b..4f4d049242 100644
--- a/gnu/packages/ocaml5.scm
+++ b/gnu/packages/ocaml5.scm
@@ -2437,6 +2437,29 @@ is able to validate updates being cryptographically 
signed (e.g. conex) by
 providing a unified diff.")
     (license license:isc)))
 
+(define-public ocaml-swhid-core
+  (package
+    (name "ocaml5-swhid-core")
+    (version "0.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/OCamlPro/swhid_core";)
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0h3zndyk94lf2lakc3cb8b7a00jqh0y1m8xk6mg61gj2kdpdbfdq"))))
+    (build-system dune-build-system)
+    (properties `((upstream-name . "swhid_core")))
+    (home-page "https://github.com/ocamlpro/swhid_core";)
+    (synopsis "OCaml library to work with swhids")
+    (description
+     "swhid_core is an OCaml library to work with Software Heritage persistent
+identifiers (swhids).  This is the core library, for most use cases you should
+use the swhid library instead.")
+    (license license:isc)))
+
 ;;;
 ;;; Avoid adding new packages to the end of this file. To reduce the chances
 ;;; of a merge conflict, place them above by existing packages with similar

Reply via email to