mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-22 18:49:14 -05:00
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>
This commit is contained in:
parent
36e0e198fe
commit
d9f0685dea
1 changed files with 32 additions and 18 deletions
|
@ -5786,29 +5786,43 @@ (define-public ocaml4.07-ppx-here
|
||||||
"0wxcak3ay4jpigm3pfdcpr65qw4hxfa8whhkryhcd8gy71x056z5"))
|
"0wxcak3ay4jpigm3pfdcpr65qw4hxfa8whhkryhcd8gy71x056z5"))
|
||||||
(properties `((upstream-name . "ppx_here"))))))
|
(properties `((upstream-name . "ppx_here"))))))
|
||||||
|
|
||||||
(define-public ocaml4.07-typerep
|
(define-public ocaml-typerep
|
||||||
(package
|
(package
|
||||||
(name "ocaml4.07-typerep")
|
(name "ocaml-typerep")
|
||||||
(version "0.11.0")
|
(version "0.14.0")
|
||||||
(source (origin
|
(source
|
||||||
(method url-fetch)
|
(origin
|
||||||
(uri (string-append "https://ocaml.janestreet.com/ocaml-core/v"
|
(method git-fetch)
|
||||||
(version-major+minor version)
|
(uri (git-reference
|
||||||
"/files/typerep-v" version ".tar.gz"))
|
(url "https://github.com/janestreet/typerep")
|
||||||
(sha256
|
(commit (string-append "v" version))))
|
||||||
(base32
|
(file-name (git-file-name name version))
|
||||||
"1zi7hy0prpgzqhr4lkacr04wvlvbp21jfbdfvffhrm6cd400rb5v"))))
|
(sha256
|
||||||
|
(base32 "0wc7h853ka3s3lxxgm61ypidl0lzgc9abdkil6f72anl0c417y90"))))
|
||||||
(build-system dune-build-system)
|
(build-system dune-build-system)
|
||||||
(arguments
|
(arguments `(#:tests? #f)); no tests
|
||||||
`(#:tests? #f
|
(propagated-inputs (list ocaml-base))
|
||||||
#:ocaml ,ocaml-4.07
|
(properties `((ocaml4.07-variant . ,(delay ocaml4.07-typerep))))
|
||||||
#:findlib ,ocaml4.07-findlib
|
|
||||||
#:dune ,ocaml4.07-dune))
|
|
||||||
(propagated-inputs `(("ocaml-base" ,(package-with-ocaml4.07 ocaml-base))))
|
|
||||||
(home-page "https://github.com/janestreet/typerep")
|
(home-page "https://github.com/janestreet/typerep")
|
||||||
(synopsis "Typerep is a library for runtime types")
|
(synopsis "Typerep is a library for runtime types")
|
||||||
(description "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
|
(define-public ocaml4.07-ppx-sexp-value
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Reference in a new issue