mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: Add ocaml-xmlm.
* gnu/packages/ocaml.scm (ocaml-xmlm): New variable.
This commit is contained in:
parent
33e0702d8a
commit
036b857978
1 changed files with 27 additions and 0 deletions
|
@ -1533,3 +1533,30 @@ (define-public ocaml-bos
|
|||
environment, parse command line arguments, interact with the file system and
|
||||
run command line programs.")
|
||||
(license license:isc)))
|
||||
|
||||
(define-public ocaml-xmlm
|
||||
(package
|
||||
(name "ocaml-xmlm")
|
||||
(version "1.2.0")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "http://erratique.ch/software/xmlm/releases/"
|
||||
"xmlm-" version ".tbz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1jywcrwn5z3gkgvicr004cxmdaqfmq8wh72f81jqz56iyn5024nh"))))
|
||||
(build-system ocaml-build-system)
|
||||
(arguments `(#:tests? #f
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(delete 'configure)
|
||||
(replace 'build
|
||||
(lambda* (#:key #:allow-other-keys)
|
||||
(zero? (system* "pkg/build" "true")))))))
|
||||
(native-inputs `(("opam" ,opam)))
|
||||
(home-page "http://erratique.ch/software/xmlm")
|
||||
(synopsis "Streaming XML codec for OCaml")
|
||||
(description "Xmlm is a streaming codec to decode and encode the XML data
|
||||
format. It can process XML documents without a complete in-memory
|
||||
representation of the data.")
|
||||
(license license:isc)))
|
||||
|
|
Loading…
Reference in a new issue