mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-20 17:53:26 -05:00
gnu: Add ocaml4.07-cstruct.
* gnu/packages/ocaml.scm (ocaml4.07-cstruct): New variable.
This commit is contained in:
parent
cebc0e54a4
commit
e1a8ba10ec
1 changed files with 17 additions and 0 deletions
|
@ -3459,6 +3459,7 @@ (define-public ocaml-cstruct
|
|||
`(("ocaml-bigarray-compat" ,ocaml-bigarray-compat)))
|
||||
(native-inputs
|
||||
`(("ocaml-alcotest" ,ocaml-alcotest)))
|
||||
(properties `((ocaml4.07-variant . ,(delay ocaml4.07-cstruct))))
|
||||
(home-page "https://github.com/mirage/ocaml-cstruct")
|
||||
(synopsis "Access C structures via a camlp4 extension")
|
||||
(description "Cstruct is a library and syntax extension to make it easier
|
||||
|
@ -3466,6 +3467,22 @@ (define-public ocaml-cstruct
|
|||
writing to these structures, and they are accessed via the Bigarray module.")
|
||||
(license license:isc)))
|
||||
|
||||
(define-public ocaml4.07-cstruct
|
||||
(package-with-ocaml4.07
|
||||
(package
|
||||
(inherit ocaml-cstruct)
|
||||
(version "5.1.1")
|
||||
(source (origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/mirage/ocaml-cstruct")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name "ocaml-cstruct" version))
|
||||
(sha256
|
||||
(base32
|
||||
"0jj3whs8r3jc524i9bb67rffh7y7r157hjgvws0bkxijxpjzwkbk"))))
|
||||
(properties '()))))
|
||||
|
||||
(define-public ocaml-hex
|
||||
(package
|
||||
(name "ocaml-hex")
|
||||
|
|
Loading…
Reference in a new issue