[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#47768] [PATCH v2 07/43] gnu: Add ocaml-gen.
From: |
pukkamustard |
Subject: |
[bug#47768] [PATCH v2 07/43] gnu: Add ocaml-gen. |
Date: |
Mon, 10 May 2021 05:15:52 +0000 |
* gnu/packages/ocaml.scm (ocaml-gen): New variable.
(ocaml4.07-gen): Remove variable.
(ocaml4.07-sedlex): Replace ocaml4.07-gen with ocaml-gen.
---
gnu/packages/ocaml.scm | 19 ++++++++-----------
1 file changed, 8 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 34e1b954d2..877b9284d1 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -2508,9 +2508,9 @@ format. It can process XML documents without a complete
in-memory
representation of the data.")
(license license:isc)))
-(define-public ocaml4.07-gen
+(define-public ocaml-gen
(package
- (name "ocaml4.07-gen")
+ (name "ocaml-gen")
(version "0.5.3")
(source (origin
(method git-fetch)
@@ -2523,16 +2523,13 @@ representation of the data.")
"1jzrs0nsdk55annkd2zrk5svi61i3b1nk6qyqdc2y26vnzqvzfg8"))))
(build-system dune-build-system)
(arguments
- `(#:tests? #f; no tests
- #:package "gen"
- #:ocaml ,ocaml-4.07
- #:findlib ,ocaml4.07-findlib
- #:dune ,ocaml4.07-dune))
+ `(#:package "gen"
+ #:test-target "."))
(propagated-inputs
- `(("ocaml-odoc" ,(package-with-ocaml4.07 ocaml4.07-odoc))))
+ `(("ocaml-odoc" ,ocaml-odoc)))
(native-inputs
- `(("ocaml-qtest" ,(package-with-ocaml4.07 ocaml-qtest))
- ("ocaml-qcheck" ,(package-with-ocaml4.07 ocaml-qcheck))))
+ `(("ocaml-qtest" ,ocaml-qtest)
+ ("ocaml-qcheck" ,ocaml-qcheck)))
(home-page "https://github.com/c-cube/gen/")
(synopsis "Iterators for OCaml, both restartable and consumable")
(description "Gen implements iterators of OCaml, that are both restartable
@@ -2577,7 +2574,7 @@ and consumable.")
(native-inputs
`(("ocamlbuild" ,(package-with-ocaml4.07 ocamlbuild))))
(propagated-inputs
- `(("ocaml-gen" ,ocaml4.07-gen)
+ `(("ocaml-gen" ,(package-with-ocaml4.07 ocaml-gen))
("ocaml-ppx-tools-versioned"
,(package-with-ocaml4.07 ocaml-ppx-tools-versioned))
("ocaml-uchar" ,(package-with-ocaml4.07 ocaml-uchar))))
--
2.31.1
- [bug#47768] [PATCH v2 00/43] Assorted OCaml patches (V2), pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 02/43] gnu: ocaml-ctypes: Update to 0.18.0., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 01/43] gnu: ocaml-integers: Update to 0.4.0., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 04/43] gnu: ocaml-lwt: Make libev a propagated input., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 06/43] gnu: ocaml4.07-gen: Update to 0.5.3., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 14/43] gnu: Add ocaml-uunf., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 07/43] gnu: Add ocaml-gen.,
pukkamustard <=
- [bug#47768] [PATCH v2 09/43] gnu: Add ocaml-compiler-libs., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 19/43] gnu: Add ocaml-ppx-compare., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 15/43] gnu: Add ocaml-ppx-sexp-conv., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 17/43] gnu: Add ocaml-ppx-let., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 33/43] gnu: Add ocaml-jane-street-headers., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 23/43] gnu: Add ocaml-ppx-custom-printf., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 03/43] gnu: ocaml-ctypes: Make ocaml-integers a propagated input., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 08/43] gnu: Add ocaml-stdio., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 10/43] gnu: ocaml-migrate-parsetree: Update to 1.8.0., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 05/43] gnu: ocaml-lwt: Update to 5.4.0., pukkamustard, 2021/05/10