gnu: Add ocaml4.07-base64.
* gnu/packages/ocaml.scm (ocaml4.07-base64): New variable.
This commit is contained in:
parent
be9ae1347c
commit
cebc0e54a4
1 changed files with 20 additions and 0 deletions
|
@ -2986,6 +2986,7 @@ multitude of other network protocols (FTP/SMTP/RTSP/etc).")
|
||||||
`(("ocaml-alcotest" ,ocaml-alcotest)
|
`(("ocaml-alcotest" ,ocaml-alcotest)
|
||||||
("ocaml-bos" ,ocaml-bos)
|
("ocaml-bos" ,ocaml-bos)
|
||||||
("ocaml-rresult" ,ocaml-rresult)))
|
("ocaml-rresult" ,ocaml-rresult)))
|
||||||
|
(properties `((ocaml4.07-variant . ,(delay ocaml4.07-base64))))
|
||||||
(home-page "https://github.com/mirage/ocaml-base64")
|
(home-page "https://github.com/mirage/ocaml-base64")
|
||||||
(synopsis "Base64 encoding for OCaml")
|
(synopsis "Base64 encoding for OCaml")
|
||||||
(description "Base64 is a group of similar binary-to-text encoding schemes
|
(description "Base64 is a group of similar binary-to-text encoding schemes
|
||||||
|
@ -2993,6 +2994,25 @@ that represent binary data in an ASCII string format by translating it into a
|
||||||
radix-64 representation. It is specified in RFC 4648.")
|
radix-64 representation. It is specified in RFC 4648.")
|
||||||
(license license:isc)))
|
(license license:isc)))
|
||||||
|
|
||||||
|
(define-public ocaml4.07-base64
|
||||||
|
(package-with-ocaml4.07
|
||||||
|
(package
|
||||||
|
(inherit ocaml-base64)
|
||||||
|
(version "3.2.0")
|
||||||
|
(source (origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri (git-reference
|
||||||
|
(url "https://github.com/mirage/ocaml-base64")
|
||||||
|
(commit (string-append "v" version))))
|
||||||
|
(file-name (git-file-name "ocaml-base64" version))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"1ilw3zj0w6cq7i4pvr8m2kv5l5f2y9aldmv72drlwwns013b1gwy"))))
|
||||||
|
(arguments
|
||||||
|
;; Tests are likely incompatible with our recent alcotest
|
||||||
|
`(#:tests? #f))
|
||||||
|
(properties '()))))
|
||||||
|
|
||||||
(define-public ocamlify
|
(define-public ocamlify
|
||||||
(package
|
(package
|
||||||
(name "ocamlify")
|
(name "ocamlify")
|
||||||
|
|
Reference in a new issue