mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-01 23:36:35 +01:00
gnu: Add ocaml-ppx-inline-test.
* gnu/packages/ocaml.scm (ocaml-ppx-inline-test): New variable. (ocaml4.07-ppx-inline-test): Inherit from ocaml-ppx-inline-test. Signed-off-by: Julien Lepiller <julien@lepiller.eu>
This commit is contained in:
parent
7c8fcd284b
commit
b05e5f6fdf
1 changed files with 46 additions and 23 deletions
|
@ -4205,10 +4205,10 @@ (define-public ocaml-time-now
|
||||||
since the start of the Unix epoch.")
|
since the start of the Unix epoch.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public ocaml4.07-ppx-inline-test
|
(define-public ocaml-ppx-inline-test
|
||||||
(package
|
(package
|
||||||
(name "ocaml4.07-ppx-inline-test")
|
(name "ocaml-ppx-inline-test")
|
||||||
(version "0.12.0")
|
(version "0.14.1")
|
||||||
(home-page "https://github.com/janestreet/ppx_inline_test")
|
(home-page "https://github.com/janestreet/ppx_inline_test")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
|
@ -4219,29 +4219,52 @@ (define-public ocaml4.07-ppx-inline-test
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0nyz411zim94pzbxm2l2v2l9jishcxwvxhh142792g2s18r4vn50"))))
|
"1ajdna1m9l1l3nfigyy33zkfa3yarfr6s086jdw2pcfwlq1fhhl4"))))
|
||||||
(build-system dune-build-system)
|
(build-system dune-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
;see home page README for further information
|
`(#:tests? #f)) ;see home page README for further information
|
||||||
`(#:tests? #f
|
(propagated-inputs
|
||||||
#:ocaml ,ocaml-4.07
|
`(("ocaml-base" ,ocaml-base)
|
||||||
#:findlib ,ocaml4.07-findlib
|
("ocaml-migrate-parsetree" ,ocaml-migrate-parsetree)
|
||||||
#:dune ,ocaml4.07-dune))
|
("ocaml-compiler-libs" ,ocaml-compiler-libs)
|
||||||
(inputs
|
("ocaml-sexplib0" ,ocaml-sexplib0)
|
||||||
`(("ocaml-base" ,(package-with-ocaml4.07 ocaml-base))
|
("ocaml-stdio" ,ocaml-stdio)
|
||||||
("ocaml-migrate-parsetree"
|
("ocaml-ppxlib" ,ocaml-ppxlib)
|
||||||
,(package-with-ocaml4.07 ocaml-migrate-parsetree))
|
("ocaml-time-now" ,ocaml-time-now)))
|
||||||
("ocaml-compiler-libs" ,(package-with-ocaml4.07 ocaml-compiler-libs))
|
(properties `((upstream-name . "ppx_inline_test")
|
||||||
("ocaml-sexplib0" ,(package-with-ocaml4.07 ocaml-sexplib0))
|
(ocaml4.07-variant . ,(delay ocaml4.07-ppx-inline-test))))
|
||||||
("ocaml-stdio" ,(package-with-ocaml4.07 ocaml-stdio))
|
|
||||||
("ocaml-ppxlib" ,(package-with-ocaml4.07 ocaml-ppxlib))))
|
|
||||||
(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")
|
||||||
(description "This package contains a syntax extension for writing
|
(description "This package contains a syntax extension for writing
|
||||||
in-line tests in ocaml code. It is part of Jane Street's PPX rewriters
|
in-line tests in ocaml code. It is part of Jane Street's PPX rewriters
|
||||||
collection.")
|
collection.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define-public ocaml4.07-ppx-inline-test
|
||||||
|
(package-with-ocaml4.07
|
||||||
|
(package
|
||||||
|
(inherit ocaml-ppx-inline-test)
|
||||||
|
(name "ocaml-ppx-inline-test")
|
||||||
|
(version "0.12.0")
|
||||||
|
(home-page "https://github.com/janestreet/ppx_inline_test")
|
||||||
|
(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
|
||||||
|
"0nyz411zim94pzbxm2l2v2l9jishcxwvxhh142792g2s18r4vn50"))))
|
||||||
|
(propagated-inputs
|
||||||
|
`(("ocaml-base" ,ocaml-base)
|
||||||
|
("ocaml-migrate-parsetree" ,ocaml-migrate-parsetree)
|
||||||
|
("ocaml-compiler-libs" ,ocaml-compiler-libs)
|
||||||
|
("ocaml-sexplib0" ,ocaml-sexplib0)
|
||||||
|
("ocaml-stdio" ,ocaml-stdio)
|
||||||
|
("ocaml-ppxlib" ,ocaml-ppxlib)))
|
||||||
|
(properties `((upstream-name . "ppx_inline_test"))))))
|
||||||
|
|
||||||
(define-public ocaml-bindlib
|
(define-public ocaml-bindlib
|
||||||
(package
|
(package
|
||||||
(name "ocaml-bindlib")
|
(name "ocaml-bindlib")
|
||||||
|
@ -4258,7 +4281,7 @@ (define-public ocaml-bindlib
|
||||||
"1f8kr81w8vsi4gv61xn1qbc6zrzkjp8l9ix0942vjh4gjxc74v75"))))
|
"1f8kr81w8vsi4gv61xn1qbc6zrzkjp8l9ix0942vjh4gjxc74v75"))))
|
||||||
(build-system ocaml-build-system)
|
(build-system ocaml-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ;no tests
|
`(#:tests? #f ;no tests
|
||||||
#:use-make? #t
|
#:use-make? #t
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
|
@ -5454,7 +5477,7 @@ (define-public ocaml4.07-ppx-bench
|
||||||
#:findlib ,ocaml4.07-findlib
|
#:findlib ,ocaml4.07-findlib
|
||||||
#:dune ,ocaml4.07-dune))
|
#:dune ,ocaml4.07-dune))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("ocaml-ppx-inline-test" ,ocaml4.07-ppx-inline-test)
|
`(("ocaml-ppx-inline-test" ,(package-with-ocaml4.07 ocaml-ppx-inline-test))
|
||||||
("ocaml-migrate-parsetree"
|
("ocaml-migrate-parsetree"
|
||||||
,(package-with-ocaml4.07 ocaml-migrate-parsetree))
|
,(package-with-ocaml4.07 ocaml-migrate-parsetree))
|
||||||
("ocaml-ppxlib" ,(package-with-ocaml4.07 ocaml-ppxlib))))
|
("ocaml-ppxlib" ,(package-with-ocaml4.07 ocaml-ppxlib))))
|
||||||
|
@ -5837,7 +5860,7 @@ (define-public ocaml4.07-ppx-expect
|
||||||
("ocaml-ppx-custom-printf" ,(package-with-ocaml4.07 ocaml-ppx-custom-printf))
|
("ocaml-ppx-custom-printf" ,(package-with-ocaml4.07 ocaml-ppx-custom-printf))
|
||||||
("ocaml-ppx-fields-conv" ,(package-with-ocaml4.07 ocaml-ppx-fields-conv))
|
("ocaml-ppx-fields-conv" ,(package-with-ocaml4.07 ocaml-ppx-fields-conv))
|
||||||
("ocaml-ppx-here" ,(package-with-ocaml4.07 ocaml-ppx-here))
|
("ocaml-ppx-here" ,(package-with-ocaml4.07 ocaml-ppx-here))
|
||||||
("ocaml-ppx-inline-test" ,ocaml4.07-ppx-inline-test)
|
("ocaml-ppx-inline-test" ,(package-with-ocaml4.07 ocaml-ppx-inline-test))
|
||||||
("ocaml-ppx-sexp-conv" ,(package-with-ocaml4.07 ocaml-ppx-sexp-conv))
|
("ocaml-ppx-sexp-conv" ,(package-with-ocaml4.07 ocaml-ppx-sexp-conv))
|
||||||
("ocaml-ppx-variants-conv" ,ocaml4.07-ppx-variants-conv)
|
("ocaml-ppx-variants-conv" ,ocaml4.07-ppx-variants-conv)
|
||||||
("ocaml-stdio" ,(package-with-ocaml4.07 ocaml-stdio))
|
("ocaml-stdio" ,(package-with-ocaml4.07 ocaml-stdio))
|
||||||
|
@ -6031,7 +6054,7 @@ (define-public ocaml4.07-ppx-jane
|
||||||
("ocaml-ppx-fail" ,ocaml4.07-ppx-fail)
|
("ocaml-ppx-fail" ,ocaml4.07-ppx-fail)
|
||||||
("ocaml-ppx-fields-conv" ,(package-with-ocaml4.07 ocaml-ppx-fields-conv))
|
("ocaml-ppx-fields-conv" ,(package-with-ocaml4.07 ocaml-ppx-fields-conv))
|
||||||
("ocaml-ppx-here" ,(package-with-ocaml4.07 ocaml-ppx-here))
|
("ocaml-ppx-here" ,(package-with-ocaml4.07 ocaml-ppx-here))
|
||||||
("ocaml-ppx-inline-test" ,ocaml4.07-ppx-inline-test)
|
("ocaml-ppx-inline-test" ,(package-with-ocaml4.07 ocaml-ppx-inline-test))
|
||||||
("ocaml-ppx-let" ,(package-with-ocaml4.07 ocaml-ppx-let))
|
("ocaml-ppx-let" ,(package-with-ocaml4.07 ocaml-ppx-let))
|
||||||
("ocaml-ppx-optcomp" ,(package-with-ocaml4.07 ocaml-ppx-optcomp))
|
("ocaml-ppx-optcomp" ,(package-with-ocaml4.07 ocaml-ppx-optcomp))
|
||||||
("ocaml-ppx-optional" ,(package-with-ocaml4.07 ocaml-ppx-optional))
|
("ocaml-ppx-optional" ,(package-with-ocaml4.07 ocaml-ppx-optional))
|
||||||
|
@ -6263,7 +6286,7 @@ (define-public ocaml4.07-core-kernel
|
||||||
("ocaml-ppx-assert" ,(package-with-ocaml4.07 ocaml-ppx-assert))
|
("ocaml-ppx-assert" ,(package-with-ocaml4.07 ocaml-ppx-assert))
|
||||||
("ocaml-ppx-base" ,(package-with-ocaml4.07 ocaml-ppx-base))
|
("ocaml-ppx-base" ,(package-with-ocaml4.07 ocaml-ppx-base))
|
||||||
("ocaml-ppx-hash" ,(package-with-ocaml4.07 ocaml-ppx-hash))
|
("ocaml-ppx-hash" ,(package-with-ocaml4.07 ocaml-ppx-hash))
|
||||||
("ocaml-ppx-inline-test" ,ocaml4.07-ppx-inline-test)
|
("ocaml-ppx-inline-test" ,(package-with-ocaml4.07 ocaml-ppx-inline-test))
|
||||||
("ocaml-ppx-jane" ,ocaml4.07-ppx-jane)
|
("ocaml-ppx-jane" ,ocaml4.07-ppx-jane)
|
||||||
("ocaml-ppx-sexp-conv" ,(package-with-ocaml4.07 ocaml-ppx-sexp-conv))
|
("ocaml-ppx-sexp-conv" ,(package-with-ocaml4.07 ocaml-ppx-sexp-conv))
|
||||||
("ocaml-ppx-sexp-message" ,ocaml4.07-ppx-sexp-message)
|
("ocaml-ppx-sexp-message" ,ocaml4.07-ppx-sexp-message)
|
||||||
|
|
Loading…
Reference in a new issue