mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-15 23:48:07 -05:00
gnu: Add ocaml-ppx-custom-printf.
* gnu/packages/ocaml.scm (ocaml-ppx-custom-printf): New variable. (ocaml4.07-ppx-custom-printf): Inherit from ocaml-ppx-custom-printf. Signed-off-by: Julien Lepiller <julien@lepiller.eu>
This commit is contained in:
parent
77b3588deb
commit
30781d6803
1 changed files with 34 additions and 25 deletions
|
@ -5172,36 +5172,45 @@ (define-public ocaml4.07-ppx-variants-conv
|
||||||
variant types.")
|
variant types.")
|
||||||
(license license:asl2.0)))
|
(license license:asl2.0)))
|
||||||
|
|
||||||
(define-public ocaml4.07-ppx-custom-printf
|
(define-public ocaml-ppx-custom-printf
|
||||||
(package
|
(package
|
||||||
(name "ocaml4.07-ppx-custom-printf")
|
(name "ocaml-ppx-custom-printf")
|
||||||
(version "0.11.0")
|
(version "0.14.1")
|
||||||
(source (origin
|
(home-page "https://github.com/janestreet/ppx_custom_printf")
|
||||||
(method url-fetch)
|
(source
|
||||||
(uri (string-append "https://ocaml.janestreet.com/ocaml-core/v"
|
(origin
|
||||||
(version-major+minor version)
|
(method git-fetch)
|
||||||
"/files/ppx_custom_printf-v" version ".tar.gz"))
|
(uri (git-reference
|
||||||
(sha256
|
(url home-page)
|
||||||
(base32
|
(commit (string-append "v" version))))
|
||||||
"11b73smf3g3bpd9lg014pr4rx285nk9mnk6g6464ph51jv0sqzhj"))))
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"0c1m65kn27zvwmfwy7kk46ga76yw2a3ik9jygpy1b6nn6pi026w9"))))
|
||||||
(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-ppx-sexp-conv" ,(package-with-ocaml4.07 ocaml-ppx-sexp-conv))
|
("ocaml-ppx-sexp-conv" ,ocaml-ppx-sexp-conv)
|
||||||
("ocaml-migrate-parsetree"
|
("ocaml-migrate-parsetree" ,ocaml-migrate-parsetree)
|
||||||
,(package-with-ocaml4.07 ocaml-migrate-parsetree))
|
("ocaml-ppxlib" ,ocaml-ppxlib)))
|
||||||
("ocaml-ppxlib" ,(package-with-ocaml4.07 ocaml-ppxlib))))
|
(properties `((upstream-name . "ppx_custom_printf")
|
||||||
(arguments
|
(ocaml4.07-variant . ,(delay ocaml4.07-ppx-custom-printf))))
|
||||||
`(#:ocaml ,ocaml-4.07
|
|
||||||
#:findlib ,ocaml4.07-findlib
|
|
||||||
#:dune ,ocaml4.07-dune))
|
|
||||||
(properties `((upstream-name . "ppx_custom_printf")))
|
|
||||||
(home-page "https://github.com/janestreet/ppx_custom_printf")
|
|
||||||
(synopsis "Printf-style format-strings for user-defined string conversion")
|
(synopsis "Printf-style format-strings for user-defined string conversion")
|
||||||
(description "Extensions to printf-style format-strings for user-defined
|
(description "Extensions to printf-style format-strings for user-defined
|
||||||
string conversion.")
|
string conversion.")
|
||||||
(license license:asl2.0)))
|
(license license:asl2.0)))
|
||||||
|
|
||||||
|
(define-public ocaml4.07-ppx-custom-printf
|
||||||
|
(package-with-ocaml4.07
|
||||||
|
(package
|
||||||
|
(inherit ocaml-ppx-custom-printf)
|
||||||
|
(version "0.11.0")
|
||||||
|
(source
|
||||||
|
(janestreet-origin
|
||||||
|
"ppx_custom_printf" version
|
||||||
|
"11b73smf3g3bpd9lg014pr4rx285nk9mnk6g6464ph51jv0sqzhj"))
|
||||||
|
(properties `((upstream-name . "ppx_custom_printf"))))))
|
||||||
|
|
||||||
(define-public ocaml4.07-bin-prot
|
(define-public ocaml4.07-bin-prot
|
||||||
(package
|
(package
|
||||||
(name "ocaml4.07-bin-prot")
|
(name "ocaml4.07-bin-prot")
|
||||||
|
@ -5218,7 +5227,7 @@ (define-public ocaml4.07-bin-prot
|
||||||
(inputs
|
(inputs
|
||||||
`(("ocaml-base" ,(package-with-ocaml4.07 ocaml-base))
|
`(("ocaml-base" ,(package-with-ocaml4.07 ocaml-base))
|
||||||
("ocaml-ppx-compare" ,(package-with-ocaml4.07 ocaml-ppx-compare))
|
("ocaml-ppx-compare" ,(package-with-ocaml4.07 ocaml-ppx-compare))
|
||||||
("ocaml-ppx-custom-printf" ,ocaml4.07-ppx-custom-printf)
|
("ocaml-ppx-custom-printf" ,(package-with-ocaml4.07 ocaml-ppx-custom-printf))
|
||||||
("ocaml-ppx-fields-conv" ,ocaml4.07-ppx-fields-conv)
|
("ocaml-ppx-fields-conv" ,ocaml4.07-ppx-fields-conv)
|
||||||
("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)
|
||||||
|
@ -5722,7 +5731,7 @@ (define-public ocaml4.07-ppx-expect
|
||||||
`(("ocaml-base" ,(package-with-ocaml4.07 ocaml-base))
|
`(("ocaml-base" ,(package-with-ocaml4.07 ocaml-base))
|
||||||
("ocaml-ppx-assert" ,(package-with-ocaml4.07 ocaml4.07-ppx-assert))
|
("ocaml-ppx-assert" ,(package-with-ocaml4.07 ocaml4.07-ppx-assert))
|
||||||
("ocaml-ppx-compare" ,(package-with-ocaml4.07 ocaml-ppx-compare))
|
("ocaml-ppx-compare" ,(package-with-ocaml4.07 ocaml-ppx-compare))
|
||||||
("ocaml-ppx-custom-printf" ,ocaml4.07-ppx-custom-printf)
|
("ocaml-ppx-custom-printf" ,(package-with-ocaml4.07 ocaml-ppx-custom-printf))
|
||||||
("ocaml-ppx-fields-conv" ,ocaml4.07-ppx-fields-conv)
|
("ocaml-ppx-fields-conv" ,ocaml4.07-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" ,ocaml4.07-ppx-inline-test)
|
||||||
|
@ -5901,7 +5910,7 @@ (define-public ocaml4.07-ppx-jane
|
||||||
("ocaml-ppx-base" ,ocaml4.07-ppx-base)
|
("ocaml-ppx-base" ,ocaml4.07-ppx-base)
|
||||||
("ocaml-ppx-bench" ,ocaml4.07-ppx-bench)
|
("ocaml-ppx-bench" ,ocaml4.07-ppx-bench)
|
||||||
("ocaml-ppx-bin-prot" ,ocaml4.07-ppx-bin-prot)
|
("ocaml-ppx-bin-prot" ,ocaml4.07-ppx-bin-prot)
|
||||||
("ocaml-ppx-custom-printf" ,ocaml4.07-ppx-custom-printf)
|
("ocaml-ppx-custom-printf" ,(package-with-ocaml4.07 ocaml-ppx-custom-printf))
|
||||||
("ocaml-ppx-expect" ,ocaml4.07-ppx-expect)
|
("ocaml-ppx-expect" ,ocaml4.07-ppx-expect)
|
||||||
("ocaml-ppx-fail" ,ocaml4.07-ppx-fail)
|
("ocaml-ppx-fail" ,ocaml4.07-ppx-fail)
|
||||||
("ocaml-ppx-fields-conv" ,ocaml4.07-ppx-fields-conv)
|
("ocaml-ppx-fields-conv" ,ocaml4.07-ppx-fields-conv)
|
||||||
|
|
Loading…
Reference in a new issue