mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
gnu: ocaml-re: Update to 1.9.0.
* gnu/packages/ocaml.scm (ocaml-re): Update to 1.9.0. (ocaml-uri): Fix build.
This commit is contained in:
parent
e58d05c32e
commit
58c3118f59
1 changed files with 9 additions and 3 deletions
|
@ -2531,7 +2531,7 @@ (define-public ocaml-seq
|
||||||
(define-public ocaml-re
|
(define-public ocaml-re
|
||||||
(package
|
(package
|
||||||
(name "ocaml-re")
|
(name "ocaml-re")
|
||||||
(version "1.8.0")
|
(version "1.9.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
|
@ -2540,7 +2540,7 @@ (define-public ocaml-re
|
||||||
(commit version)))
|
(commit version)))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0ch6hvmm4ym3w2vghjxf3ka5j1023a37980fqi4zcb7sx756z20i"))))
|
(base32 "07ycb103mr4mrkxfd63cwlsn023xvcjp0ra0k7n2gwrg0mwxmfss"))))
|
||||||
(build-system dune-build-system)
|
(build-system dune-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f
|
`(#:tests? #f
|
||||||
|
@ -2681,7 +2681,13 @@ (define-public ocaml-uri
|
||||||
(base32 "1ppbav41mszpjcl0zi3fyg958cxyfs57i7kvha4ds9ydn89bjmrh"))))
|
(base32 "1ppbav41mszpjcl0zi3fyg958cxyfs57i7kvha4ds9ydn89bjmrh"))))
|
||||||
(build-system dune-build-system)
|
(build-system dune-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:test-target "."))
|
`(#:test-target "."
|
||||||
|
#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(add-before 'build 'update-deprecated
|
||||||
|
(lambda _
|
||||||
|
(substitute* "lib/uri.ml"
|
||||||
|
(("Re.get") "Re.Group.get")))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("ocaml-ounit" ,ocaml-ounit)
|
`(("ocaml-ounit" ,ocaml-ounit)
|
||||||
("ocaml-ppx-sexp-conv" ,ocaml-ppx-sexp-conv)))
|
("ocaml-ppx-sexp-conv" ,ocaml-ppx-sexp-conv)))
|
||||||
|
|
Loading…
Reference in a new issue