gnu: ocaml-fmt: Update to 0.9.0.
* gnu/packages/ocaml.scm (ocaml-fmt): Update to 0.9.0. (ocaml4.07-fmt): New variable.
This commit is contained in:
parent
c618f4a9cc
commit
426faa76d1
|
@ -2222,14 +2222,14 @@ (define-public ocaml-cmdliner
|
||||||
(define-public ocaml-fmt
|
(define-public ocaml-fmt
|
||||||
(package
|
(package
|
||||||
(name "ocaml-fmt")
|
(name "ocaml-fmt")
|
||||||
(version "0.8.9")
|
(version "0.9.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "http://erratique.ch/software/fmt/releases/fmt-"
|
(uri (string-append "http://erratique.ch/software/fmt/releases/fmt-"
|
||||||
version ".tbz"))
|
version ".tbz"))
|
||||||
(sha256 (base32
|
(sha256 (base32
|
||||||
"0gkkkj4x678vxdda4xaw2dd44qjacavsvn5nx8gydfwah6pjbkxk"))))
|
"0q8j2in2473xh7k4hfgnppv9qy77f2ih89yp6yhpbp92ba021yzi"))))
|
||||||
(build-system ocaml-build-system)
|
(build-system ocaml-build-system)
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("ocamlbuild" ,ocamlbuild)
|
`(("ocamlbuild" ,ocamlbuild)
|
||||||
|
@ -2245,12 +2245,27 @@ (define-public ocaml-fmt
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(delete 'configure))))
|
(delete 'configure))))
|
||||||
|
(properties `((ocaml4.07-variant . ,(delay ocaml4.07-fmt))))
|
||||||
(home-page "https://erratique.ch/software/fmt")
|
(home-page "https://erratique.ch/software/fmt")
|
||||||
(synopsis "OCaml Format pretty-printer combinators")
|
(synopsis "OCaml Format pretty-printer combinators")
|
||||||
(description "Fmt exposes combinators to devise Format pretty-printing
|
(description "Fmt exposes combinators to devise Format pretty-printing
|
||||||
functions.")
|
functions.")
|
||||||
(license license:isc)))
|
(license license:isc)))
|
||||||
|
|
||||||
|
(define-public ocaml4.07-fmt
|
||||||
|
(package-with-ocaml4.07
|
||||||
|
(package
|
||||||
|
(inherit ocaml-fmt)
|
||||||
|
(version "0.8.9")
|
||||||
|
(source (origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (string-append "http://erratique.ch/software/fmt/releases/fmt-"
|
||||||
|
version ".tbz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"0gkkkj4x678vxdda4xaw2dd44qjacavsvn5nx8gydfwah6pjbkxk"))))
|
||||||
|
(properties '()))))
|
||||||
|
|
||||||
(define-public ocaml-astring
|
(define-public ocaml-astring
|
||||||
(package
|
(package
|
||||||
(name "ocaml-astring")
|
(name "ocaml-astring")
|
||||||
|
|
Loading…
Reference in a new issue