[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#45498] [PATCH 04/12] gnu: Add ocaml-parsexp.
From: |
pukkamustard |
Subject: |
[bug#45498] [PATCH 04/12] gnu: Add ocaml-parsexp. |
Date: |
Mon, 28 Dec 2020 13:47:10 +0100 |
* gnu/packages/ocaml.scm (ocaml-parsexp): New variable.
(ocaml4.07-parsexp): Inherit from ocaml-parsexp.
---
gnu/packages/ocaml.scm | 38 +++++++++++++++++++++-----------------
1 file changed, 21 insertions(+), 17 deletions(-)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 36137e9d78..f6488a0e23 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -4065,28 +4065,18 @@ that was developed by Jane Street, the largest
industrial user of OCaml.")
#:findlib ,ocaml4.07-findlib
#:dune ,ocaml4.07-dune))))
-(define-public ocaml4.07-parsexp
+(define-public ocaml-parsexp
(package
- (name "ocaml4.07-parsexp")
- (version "0.11.0")
+ (name "ocaml-parsexp")
+ (version "0.14.0")
(home-page "https://github.com/janestreet/parsexp")
(source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url (string-append home-page ".git"))
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1nyq23s5igd8cf3n4qxprjvhbmb6ighb3fy5mw7hxl0mdgsw5fvz"))))
+ (janestreet-origin "parsexp" version
+
"158znj19dvfdcwsgzs3rdhxpj1g4aw0d4nkfr8c05bahf0lnshlb"))
(build-system dune-build-system)
- (arguments
- `(#:ocaml ,ocaml-4.07
- #:findlib ,ocaml4.07-findlib
- #:dune ,ocaml4.07-dune))
(inputs
- `(("ocaml-sexplib0" ,ocaml4.07-sexplib0)))
+ `(("ocaml-sexplib0" ,ocaml-sexplib0)
+ ("ocaml-base" ,ocaml-base)))
(synopsis "S-expression parsing library")
(description
"This library provides generic parsers for parsing S-expressions from
@@ -4115,6 +4105,20 @@ s-expressions from files or other external sources, you
should use
parsexp_io.")
(license license:expat)))
+(define-public ocaml4.07-parsexp
+ (package (inherit ocaml-parsexp)
+ (name "ocaml4.07-parsexp")
+ (version "0.11.0")
+ (source
+ (janestreet-origin "parsexp" version
+
"11a30zkfgbi6pb4whq22k1zc8ghdp9bwxl5s5cdlmx1z8s4yxsf0"))
+ (arguments
+ `(#:ocaml ,ocaml-4.07
+ #:findlib ,ocaml4.07-findlib
+ #:dune ,ocaml4.07-dune))
+ (inputs
+ `(("ocaml-sexplib0" ,ocaml4.07-sexplib0)))))
+
(define-public ocaml4.07-sexplib
(package
(name "ocaml4.07-sexplib")
--
2.29.2
- [bug#45498] [PATCH 00/12] Add ocaml-merlin., pukkamustard, 2020/12/28
- [bug#45498] [PATCH 01/12] gnu: Remove ocaml-js-build-tools., pukkamustard, 2020/12/28
- [bug#45498] [PATCH 03/12] gnu: Add ocaml-base., pukkamustard, 2020/12/28
- [bug#45498] [PATCH 02/12] gnu: Add ocaml-sexplib., pukkamustard, 2020/12/28
- [bug#45498] [PATCH 05/12] gnu: Add ocaml-sexplib., pukkamustard, 2020/12/28
- [bug#45498] [PATCH 04/12] gnu: Add ocaml-parsexp.,
pukkamustard <=
- [bug#45498] [PATCH 07/12] gnu: ocaml-tyxml: Update to 4.4.0., pukkamustard, 2020/12/28
- [bug#45498] [PATCH 06/12] gnu: Add ocaml-ounit2., pukkamustard, 2020/12/28
- [bug#45498] [PATCH 09/12] gnu: Add ocaml-odoc., pukkamustard, 2020/12/28
- [bug#45498] [PATCH 08/12] gnu: ocaml-markup: Update to 1.0.0., pukkamustard, 2020/12/28
- [bug#45498] [PATCH 11/12] gnu: Add ocaml-mdx., pukkamustard, 2020/12/28
- [bug#45498] [PATCH 10/12] gnu: Add ocaml-version., pukkamustard, 2020/12/28
- [bug#45498] [PATCH 12/12] gnu: Add ocaml-merlin., pukkamustard, 2020/12/28
- [bug#34412] [bug#45498] [PATCH 00/12] Add ocaml-merlin., Julien Lepiller, 2020/12/28