[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/25: gnu: Add ocaml-typerep.
From: |
guix-commits |
Subject: |
05/25: gnu: Add ocaml-typerep. |
Date: |
Mon, 11 Apr 2022 06:18:50 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit d9f0685dea2ffc21167d80f409c3ea6088f9c7de
Author: Julien Lepiller <julien@lepiller.eu>
AuthorDate: Fri Apr 8 15:22:45 2022 +0200
gnu: Add ocaml-typerep.
* gnu/packages/ocaml.scm (ocaml-typerep): New variable.
(ocaml4.07-typerep): Inherit from it.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/ocaml.scm | 50 ++++++++++++++++++++++++++++++++------------------
1 file changed, 32 insertions(+), 18 deletions(-)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 6690fab76d..8c464147f5 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -5786,29 +5786,43 @@ many values).")
"0wxcak3ay4jpigm3pfdcpr65qw4hxfa8whhkryhcd8gy71x056z5"))
(properties `((upstream-name . "ppx_here"))))))
-(define-public ocaml4.07-typerep
+(define-public ocaml-typerep
(package
- (name "ocaml4.07-typerep")
- (version "0.11.0")
- (source (origin
- (method url-fetch)
- (uri (string-append "https://ocaml.janestreet.com/ocaml-core/v"
- (version-major+minor version)
- "/files/typerep-v" version ".tar.gz"))
- (sha256
- (base32
- "1zi7hy0prpgzqhr4lkacr04wvlvbp21jfbdfvffhrm6cd400rb5v"))))
+ (name "ocaml-typerep")
+ (version "0.14.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/janestreet/typerep")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0wc7h853ka3s3lxxgm61ypidl0lzgc9abdkil6f72anl0c417y90"))))
(build-system dune-build-system)
- (arguments
- `(#:tests? #f
- #:ocaml ,ocaml-4.07
- #:findlib ,ocaml4.07-findlib
- #:dune ,ocaml4.07-dune))
- (propagated-inputs `(("ocaml-base" ,(package-with-ocaml4.07 ocaml-base))))
+ (arguments `(#:tests? #f)); no tests
+ (propagated-inputs (list ocaml-base))
+ (properties `((ocaml4.07-variant . ,(delay ocaml4.07-typerep))))
(home-page "https://github.com/janestreet/typerep")
(synopsis "Typerep is a library for runtime types")
(description "Typerep is a library for runtime types.")
- (license license:asl2.0)))
+ (license license:expat)))
+
+(define-public ocaml4.07-typerep
+ (package-with-ocaml4.07
+ (package
+ (inherit ocaml-typerep)
+ (version "0.11.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://ocaml.janestreet.com/ocaml-core/v"
+ (version-major+minor version)
+ "/files/typerep-v" version ".tar.gz"))
+ (sha256
+ (base32
+ "1zi7hy0prpgzqhr4lkacr04wvlvbp21jfbdfvffhrm6cd400rb5v"))))
+ (properties '())
+ (license license:asl2.0))))
(define-public ocaml4.07-ppx-sexp-value
(package
- branch master updated (7da907f90e -> 24851bf6f9), guix-commits, 2022/04/11
- 04/25: gnu: Add ocaml-spawn., guix-commits, 2022/04/11
- 05/25: gnu: Add ocaml-typerep.,
guix-commits <=
- 06/25: gnu: Add ocaml-ppx-typerep-conv., guix-commits, 2022/04/11
- 07/25: gnu: Add ocaml-ppx-string., guix-commits, 2022/04/11
- 09/25: gnu: Add ocaml-ppx-pipebang., guix-commits, 2022/04/11
- 10/25: gnu: Add ocaml-ppx-module-timer., guix-commits, 2022/04/11
- 01/25: gnu: ocaml-odoc: Update to 2.2.0-alpha., guix-commits, 2022/04/11
- 03/25: import: opam: Factor out source import., guix-commits, 2022/04/11
- 02/25: import: opam: Accept tabulations., guix-commits, 2022/04/11
- 17/25: gnu: Add ocaml-splittable-random., guix-commits, 2022/04/11
- 18/25: gnu: Add ocaml-base-quickcheck., guix-commits, 2022/04/11
- 11/25: gnu: Add ocaml-ppx-fixed-literal., guix-commits, 2022/04/11