[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#58310] [PATCH 11/14] gnu: Add ocaml-elpi.
From: |
Garek Dyszel |
Subject: |
[bug#58310] [PATCH 11/14] gnu: Add ocaml-elpi. |
Date: |
Wed, 05 Oct 2022 13:51:08 -0400 |
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index bc876d60a1..641a139e51 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -5007,6 +5007,54 @@ (define-public ocaml-atd
Definitions language.")
(license (license:non-copyleft "LICENSE.md"))))
+(define-public ocaml-elpi
+ (package
+ (name "ocaml-elpi")
+ ;; For more information on which version works with Coq 8.16,
+ ;; see the relevant issue:
+ ;; https://github.com/math-comp/hierarchy-builder/issues/297
+ ;; Here we use
+ ;; coq-elpi 1.15.4 + ocaml-elpi 1.16.5 +
+ ;; coq-mathcomp-hierarchy-builder 1.3.0 (Coq 8.16).
+ ;; (version "1.15.2")
+ (version "1.16.5")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/LPCIC/elpi")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ ;; "0swzqabwrxqb6sz8zpild2lfcnk3l0zxi9fw61dy2g1pzws2j2jy")
+ "1l6grpglkvyyj0p01l0q5ih12lp4vizamgj7i63ig82gqpyzk9dl"))))
+ (build-system dune-build-system)
+ (arguments
+ `(#:test-target "tests"))
+ ;; Build currently fails with error (repeated several times):
+ ;; 'Warning 6 [labels-omitted: label argsdepth was omitted in the
+ ;; application of this function.'
+ (propagated-inputs (list ocaml-stdlib-shims
+ ocaml-ppxlib
+ ocaml-menhir
+ ocaml-re
+ ocaml-ppx-deriving
+ ocaml-atd
+ ocaml-camlp-streams
+ ocaml-biniou
+ ocaml-yojson))
+ (native-inputs (list ocaml-ansiterminal ocaml-cmdliner time))
+ (home-page "https://github.com/LPCIC/elpi")
+ (synopsis "ELPI - Embeddable λProlog Interpreter")
+ (description
+ "ELPI is an extension language for OCaml. It implements a variant of
+λProlog enriched with Constraint Handling Rules, a programming language for
+manipulating syntax trees with binders.
+
+This package provides both a command line interpreter, elpi, and an OCaml
+library with the same name.")
+ (license license:lgpl2.1+)))
+
(define-public ocaml-timed
(package
(name "ocaml-timed")
--
2.37.3
- [bug#58310] [PATCH 03/14] gnu: Add python-setuptools-scm-7.* gnu/packages/python-build.scm (python-setuptools-scm-7): New variable., (continued)
- [bug#58310] [PATCH 03/14] gnu: Add python-setuptools-scm-7.* gnu/packages/python-build.scm (python-setuptools-scm-7): New variable., Garek Dyszel, 2022/10/05
- [bug#58310] [PATCH 02/14] gnu: Add python-pluggy-1.0.* gnu/packages/python-xyz.scm (python-pluggy-1.0): New variable., Garek Dyszel, 2022/10/05
- [bug#58310] [PATCH 04/14] gnu: Add python-hatchling-bootstrap., Garek Dyszel, 2022/10/05
- [bug#58310] [PATCH 08/14] gnu: Add python-hatch-fancy-pypi-readme., Garek Dyszel, 2022/10/05
- [bug#58310] [PATCH 07/14] gnu: Add python-pytest-icdiff., Garek Dyszel, 2022/10/05
- [bug#58310] [PATCH 05/14] gnu: Add python-hatch., Garek Dyszel, 2022/10/05
- [bug#58310] [PATCH 06/14] gnu: Add python-hatch-vcs., Garek Dyszel, 2022/10/05
- [bug#58310] [PATCH 10/14] gnu: Add ocaml-atd., Garek Dyszel, 2022/10/05
- [bug#58310] [PATCH 09/14] gnu: python-jsonschema-next: Update to 4.16.0., Garek Dyszel, 2022/10/05
- [bug#58310] [PATCH 14/14] gnu: Add coq-mathcomp-analysis., Garek Dyszel, 2022/10/05
- [bug#58310] [PATCH 11/14] gnu: Add ocaml-elpi.,
Garek Dyszel <=
- [bug#58310] [PATCH 12/14] gnu: Add coq-elpi., Garek Dyszel, 2022/10/05
- [bug#58310] [PATCH 13/14] gnu: Add coq-mathcomp-hierarchy-builder., Garek Dyszel, 2022/10/05
- [bug#58310] Temporary manifest for coq-mathcomp-analysis, Garek Dyszel, 2022/10/18