gnu: Add ocaml-piqi.
* gnu/packages/ocaml.scm (ocaml4.07-piqi): Rename to... (ocaml-piqi): ...this. Use latest ocaml.
This commit is contained in:
parent
4a94cfbe4d
commit
7b615e3e6c
1 changed files with 7 additions and 9 deletions
|
@ -3956,9 +3956,9 @@ and 4 (random based) according to RFC 4122.")
|
||||||
(description "OCamlgraph is a generic graph library for OCaml.")
|
(description "OCamlgraph is a generic graph library for OCaml.")
|
||||||
(license license:lgpl2.1)))
|
(license license:lgpl2.1)))
|
||||||
|
|
||||||
(define-public ocaml4.07-piqi
|
(define-public ocaml-piqi
|
||||||
(package
|
(package
|
||||||
(name "ocaml4.07-piqi")
|
(name "ocaml-piqi")
|
||||||
(version "0.7.7")
|
(version "0.7.7")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
|
@ -3982,15 +3982,13 @@ and 4 (random based) according to RFC 4122.")
|
||||||
(lambda _
|
(lambda _
|
||||||
(for-each make-file-writable (find-files "."))
|
(for-each make-file-writable (find-files "."))
|
||||||
#t))
|
#t))
|
||||||
(delete 'configure))
|
(delete 'configure))))
|
||||||
#:ocaml ,ocaml-4.07
|
|
||||||
#:findlib ,ocaml4.07-findlib))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list which protobuf)) ; for tests
|
(list which protobuf)) ; for tests
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("ocaml-num" ,(package-with-ocaml4.07 ocaml-num))
|
`(("ocaml-num" ,ocaml-num)
|
||||||
("ocaml-piqilib" ,(package-with-ocaml4.07 ocaml-piqilib))
|
("ocaml-piqilib" ,ocaml-piqilib)
|
||||||
("ocaml-stdlib-shims" ,(package-with-ocaml4.07 ocaml-stdlib-shims))))
|
("ocaml-stdlib-shims" ,ocaml-stdlib-shims)))
|
||||||
(home-page "https://github.com/alavrik/piqi-ocaml")
|
(home-page "https://github.com/alavrik/piqi-ocaml")
|
||||||
(synopsis "Protocol serialization system for OCaml")
|
(synopsis "Protocol serialization system for OCaml")
|
||||||
(description "Piqi is a multi-format data serialization system for OCaml.
|
(description "Piqi is a multi-format data serialization system for OCaml.
|
||||||
|
@ -4027,7 +4025,7 @@ XML and Protocol Buffers formats.")
|
||||||
("ocaml-frontc" ,(package-with-ocaml4.07 ocaml-frontc))
|
("ocaml-frontc" ,(package-with-ocaml4.07 ocaml-frontc))
|
||||||
("ocaml-graph" ,(package-with-ocaml4.07 ocaml-graph))
|
("ocaml-graph" ,(package-with-ocaml4.07 ocaml-graph))
|
||||||
("ocaml-ocurl" ,(package-with-ocaml4.07 ocaml-ocurl))
|
("ocaml-ocurl" ,(package-with-ocaml4.07 ocaml-ocurl))
|
||||||
("ocaml-piqi" ,ocaml4.07-piqi)
|
("ocaml-piqi" ,(package-with-ocaml4.07 ocaml-piqi))
|
||||||
("ocaml-ppx-jane" ,ocaml4.07-ppx-jane)
|
("ocaml-ppx-jane" ,ocaml4.07-ppx-jane)
|
||||||
("ocaml-utop" ,ocaml4.07-utop)
|
("ocaml-utop" ,ocaml4.07-utop)
|
||||||
("ocaml-uuidm" ,(package-with-ocaml4.07 ocaml-uuidm))
|
("ocaml-uuidm" ,(package-with-ocaml4.07 ocaml-uuidm))
|
||||||
|
|
Reference in a new issue