mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 14:07:01 +01:00
gnu: Add ocaml-stdio.
* gnu/packages/ocaml.scm (ocaml-stdio): New variable. (ocaml4.07-stdio): Inherit from ocaml-stdio. Signed-off-by: Julien Lepiller <julien@lepiller.eu>
This commit is contained in:
parent
4b6e1fba5a
commit
8f5aa879de
1 changed files with 29 additions and 29 deletions
|
@ -1977,7 +1977,7 @@ (define-public ocaml4.07-sqlite3
|
||||||
#:dune ,ocaml4.07-dune))
|
#:dune ,ocaml4.07-dune))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("ocaml-base" ,(package-with-ocaml4.07 ocaml-base))
|
`(("ocaml-base" ,(package-with-ocaml4.07 ocaml-base))
|
||||||
("ocaml-stdio" ,ocaml4.07-stdio)
|
("ocaml-stdio" ,(package-with-ocaml4.07 ocaml-stdio))
|
||||||
("pkg-config" ,pkg-config)))
|
("pkg-config" ,pkg-config)))
|
||||||
(inputs
|
(inputs
|
||||||
`(("sqlite" ,sqlite)))
|
`(("sqlite" ,sqlite)))
|
||||||
|
@ -4085,7 +4085,7 @@ (define-public ocaml4.07-ppx-inline-test
|
||||||
,(package-with-ocaml4.07 ocaml-migrate-parsetree))
|
,(package-with-ocaml4.07 ocaml-migrate-parsetree))
|
||||||
("ocaml-compiler-libs" ,ocaml4.07-compiler-libs)
|
("ocaml-compiler-libs" ,ocaml4.07-compiler-libs)
|
||||||
("ocaml-sexplib0" ,(package-with-ocaml4.07 ocaml-sexplib0))
|
("ocaml-sexplib0" ,(package-with-ocaml4.07 ocaml-sexplib0))
|
||||||
("ocaml-stdio" ,ocaml4.07-stdio)
|
("ocaml-stdio" ,(package-with-ocaml4.07 ocaml-stdio))
|
||||||
("ocaml-ppxlib" ,ocaml4.07-ppxlib)))
|
("ocaml-ppxlib" ,ocaml4.07-ppxlib)))
|
||||||
(properties `((upstream-name . "ppx_inline_test")))
|
(properties `((upstream-name . "ppx_inline_test")))
|
||||||
(synopsis "Syntax extension for writing in-line tests in ocaml code")
|
(synopsis "Syntax extension for writing in-line tests in ocaml code")
|
||||||
|
@ -4428,7 +4428,7 @@ (define-public ocaml4.07-gsl
|
||||||
`(("gsl" ,gsl)))
|
`(("gsl" ,gsl)))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("ocaml-base" ,(package-with-ocaml4.07 ocaml-base))
|
`(("ocaml-base" ,(package-with-ocaml4.07 ocaml-base))
|
||||||
("ocaml-stdio" ,ocaml4.07-stdio)))
|
("ocaml-stdio" ,(package-with-ocaml4.07 ocaml-stdio))))
|
||||||
(home-page "https://mmottl.github.io/gsl-ocaml")
|
(home-page "https://mmottl.github.io/gsl-ocaml")
|
||||||
(synopsis "Bindings to the GNU Scientific Library")
|
(synopsis "Bindings to the GNU Scientific Library")
|
||||||
(description
|
(description
|
||||||
|
@ -4713,30 +4713,20 @@ (define-public ocaml4.07-compiler-libs
|
||||||
is now @code{Ocaml_common.Ast_helper}.")
|
is now @code{Ocaml_common.Ast_helper}.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public ocaml4.07-stdio
|
(define-public ocaml-stdio
|
||||||
(package
|
(package
|
||||||
(name "ocaml4.07-stdio")
|
(name "ocaml-stdio")
|
||||||
(version "0.11.0")
|
(version "0.14.0")
|
||||||
(home-page "https://github.com/janestreet/stdio")
|
(home-page "https://github.com/janestreet/stdio")
|
||||||
(source
|
(source
|
||||||
(origin
|
(janestreet-origin "stdio" version
|
||||||
(method git-fetch)
|
"1hj5hraprqy2i90a690l11yjszvb99j818q3d684ryx6p2lddk0l"))
|
||||||
(uri (git-reference
|
|
||||||
(url (string-append home-page ".git"))
|
|
||||||
(commit (string-append "v" version))))
|
|
||||||
(file-name (git-file-name name version))
|
|
||||||
(sha256
|
|
||||||
(base32
|
|
||||||
"1facajqhvq34g2wrg368y0ajxd6lrj5b3lyzyj0jhdmraxajjcwn"))))
|
|
||||||
(build-system dune-build-system)
|
(build-system dune-build-system)
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("ocaml-base" ,(package-with-ocaml4.07 ocaml-base))
|
`(("ocaml-base" ,ocaml-base)
|
||||||
("ocaml-sexplib0" ,(package-with-ocaml4.07 ocaml-sexplib0))))
|
("ocaml-sexplib0" ,ocaml-sexplib0)))
|
||||||
(arguments
|
(arguments `(#:tests? #f)) ;no tests
|
||||||
`(#:tests? #f ;no tests
|
(properties `((ocaml4.07-variant . ,(delay ocaml4.07-stdio))))
|
||||||
#:ocaml ,ocaml-4.07
|
|
||||||
#:findlib ,ocaml4.07-findlib
|
|
||||||
#:dune ,ocaml4.07-dune))
|
|
||||||
(synopsis "Standard IO library for OCaml")
|
(synopsis "Standard IO library for OCaml")
|
||||||
(description
|
(description
|
||||||
"Stdio implements simple input/output functionalities for OCaml. It
|
"Stdio implements simple input/output functionalities for OCaml. It
|
||||||
|
@ -4744,6 +4734,16 @@ (define-public ocaml4.07-stdio
|
||||||
a more consistent API.")
|
a more consistent API.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define-public ocaml4.07-stdio
|
||||||
|
(package-with-ocaml4.07
|
||||||
|
(package
|
||||||
|
(inherit ocaml-stdio)
|
||||||
|
(version "0.11.0")
|
||||||
|
(source
|
||||||
|
(janestreet-origin "stdio" version
|
||||||
|
"0pqbp2wy5fgmc38irwvmj9nlcvclb1ix1mp4y7l39bgvvlz303h9"))
|
||||||
|
(properties '()))))
|
||||||
|
|
||||||
(define-public ocaml-ppx-derivers
|
(define-public ocaml-ppx-derivers
|
||||||
(package
|
(package
|
||||||
(name "ocaml-ppx-derivers")
|
(name "ocaml-ppx-derivers")
|
||||||
|
@ -4793,7 +4793,7 @@ (define-public ocaml4.07-ppxlib
|
||||||
("ocaml-migrate-parsetree"
|
("ocaml-migrate-parsetree"
|
||||||
,(package-with-ocaml4.07 ocaml-migrate-parsetree))
|
,(package-with-ocaml4.07 ocaml-migrate-parsetree))
|
||||||
("ocaml-ppx-derivers" ,(package-with-ocaml4.07 ocaml-ppx-derivers))
|
("ocaml-ppx-derivers" ,(package-with-ocaml4.07 ocaml-ppx-derivers))
|
||||||
("ocaml-stdio" ,ocaml4.07-stdio)
|
("ocaml-stdio" ,(package-with-ocaml4.07 ocaml-stdio))
|
||||||
("ocaml-result" ,(package-with-ocaml4.07 ocaml-result))
|
("ocaml-result" ,(package-with-ocaml4.07 ocaml-result))
|
||||||
("ocaml-sexplib0" ,(package-with-ocaml4.07 ocaml-sexplib0))))
|
("ocaml-sexplib0" ,(package-with-ocaml4.07 ocaml-sexplib0))))
|
||||||
(arguments
|
(arguments
|
||||||
|
@ -5421,7 +5421,7 @@ (define-public ocaml4.07-ppx-optcomp
|
||||||
#:dune ,ocaml4.07-dune))
|
#:dune ,ocaml4.07-dune))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("ocaml-base" ,(package-with-ocaml4.07 ocaml-base))
|
`(("ocaml-base" ,(package-with-ocaml4.07 ocaml-base))
|
||||||
("ocaml-stdio" ,ocaml4.07-stdio)
|
("ocaml-stdio" ,(package-with-ocaml4.07 ocaml-stdio))
|
||||||
("ocaml-ppxlib" ,ocaml4.07-ppxlib)))
|
("ocaml-ppxlib" ,ocaml4.07-ppxlib)))
|
||||||
(properties `((upstream-name . "ppx_optcomp")))
|
(properties `((upstream-name . "ppx_optcomp")))
|
||||||
(home-page "https://github.com/janestreet/ppx_optcomp")
|
(home-page "https://github.com/janestreet/ppx_optcomp")
|
||||||
|
@ -5550,7 +5550,7 @@ (define-public ocaml4.07-ppx-expect
|
||||||
("ocaml-ppx-inline-test" ,ocaml4.07-ppx-inline-test)
|
("ocaml-ppx-inline-test" ,ocaml4.07-ppx-inline-test)
|
||||||
("ocaml-ppx-sexp-conv" ,ocaml4.07-ppx-sexp-conv)
|
("ocaml-ppx-sexp-conv" ,ocaml4.07-ppx-sexp-conv)
|
||||||
("ocaml-ppx-variants-conv" ,ocaml4.07-ppx-variants-conv)
|
("ocaml-ppx-variants-conv" ,ocaml4.07-ppx-variants-conv)
|
||||||
("ocaml-stdio" ,ocaml4.07-stdio)
|
("ocaml-stdio" ,(package-with-ocaml4.07 ocaml-stdio))
|
||||||
("ocaml-migrate-parsetree"
|
("ocaml-migrate-parsetree"
|
||||||
,(package-with-ocaml4.07 ocaml-migrate-parsetree))
|
,(package-with-ocaml4.07 ocaml-migrate-parsetree))
|
||||||
("ocaml-ppxlib" ,ocaml4.07-ppxlib)
|
("ocaml-ppxlib" ,ocaml4.07-ppxlib)
|
||||||
|
@ -5826,7 +5826,7 @@ (define-public ocaml4.07-configurator
|
||||||
#:dune ,ocaml4.07-dune))
|
#:dune ,ocaml4.07-dune))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("ocaml-base" ,(package-with-ocaml4.07 ocaml-base))
|
`(("ocaml-base" ,(package-with-ocaml4.07 ocaml-base))
|
||||||
("ocaml-stdio" ,ocaml4.07-stdio)))
|
("ocaml-stdio" ,(package-with-ocaml4.07 ocaml-stdio))))
|
||||||
(home-page "https://github.com/janestreet/configurator")
|
(home-page "https://github.com/janestreet/configurator")
|
||||||
(synopsis "Helper library for gathering system configuration")
|
(synopsis "Helper library for gathering system configuration")
|
||||||
(description "Configurator is a small library that helps writing OCaml
|
(description "Configurator is a small library that helps writing OCaml
|
||||||
|
@ -5919,7 +5919,7 @@ (define-public ocaml4.07-core
|
||||||
("ocaml-ppx-jane" ,ocaml4.07-ppx-jane)
|
("ocaml-ppx-jane" ,ocaml4.07-ppx-jane)
|
||||||
("ocaml-sexplib" ,(package-with-ocaml4.07 ocaml-sexplib))
|
("ocaml-sexplib" ,(package-with-ocaml4.07 ocaml-sexplib))
|
||||||
("ocaml-spawn" ,ocaml4.07-spawn)
|
("ocaml-spawn" ,ocaml4.07-spawn)
|
||||||
("ocaml-stdio" ,ocaml4.07-stdio)
|
("ocaml-stdio" ,(package-with-ocaml4.07 ocaml-stdio))
|
||||||
("ocaml-migrate-parsetree"
|
("ocaml-migrate-parsetree"
|
||||||
,(package-with-ocaml4.07 ocaml-migrate-parsetree))
|
,(package-with-ocaml4.07 ocaml-migrate-parsetree))
|
||||||
("ocaml-ppxlib" ,ocaml4.07-ppxlib)))
|
("ocaml-ppxlib" ,ocaml4.07-ppxlib)))
|
||||||
|
@ -5966,7 +5966,7 @@ (define-public ocaml4.07-core-kernel
|
||||||
("ocaml-ppx-sexp-message" ,ocaml4.07-ppx-sexp-message)
|
("ocaml-ppx-sexp-message" ,ocaml4.07-ppx-sexp-message)
|
||||||
("ocaml-sexplib" ,(package-with-ocaml4.07 ocaml-sexplib))
|
("ocaml-sexplib" ,(package-with-ocaml4.07 ocaml-sexplib))
|
||||||
("ocaml-splittable-random" ,ocaml4.07-splittable-random)
|
("ocaml-splittable-random" ,ocaml4.07-splittable-random)
|
||||||
("ocaml-stdio" ,ocaml4.07-stdio)
|
("ocaml-stdio" ,(package-with-ocaml4.07 ocaml-stdio))
|
||||||
("ocaml-typerep" ,ocaml4.07-typerep)
|
("ocaml-typerep" ,ocaml4.07-typerep)
|
||||||
("ocaml-variantslib" ,ocaml4.07-variantslib)
|
("ocaml-variantslib" ,ocaml4.07-variantslib)
|
||||||
("ocaml-migrate-parsetree"
|
("ocaml-migrate-parsetree"
|
||||||
|
@ -6250,7 +6250,7 @@ (define-public ocaml4.07-lacaml
|
||||||
`(("openblas" ,openblas)
|
`(("openblas" ,openblas)
|
||||||
("lapack" ,lapack)
|
("lapack" ,lapack)
|
||||||
("ocaml-base" ,(package-with-ocaml4.07 ocaml-base))
|
("ocaml-base" ,(package-with-ocaml4.07 ocaml-base))
|
||||||
("ocaml-stdio" ,ocaml4.07-stdio)))
|
("ocaml-stdio" ,(package-with-ocaml4.07 ocaml-stdio))))
|
||||||
(home-page "https://mmottl.github.io/lacaml/")
|
(home-page "https://mmottl.github.io/lacaml/")
|
||||||
(synopsis
|
(synopsis
|
||||||
"OCaml-bindings to BLAS and LAPACK")
|
"OCaml-bindings to BLAS and LAPACK")
|
||||||
|
|
Loading…
Reference in a new issue