[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 38/96] gnu: Add ocaml-base64
From: |
Julien Lepiller |
Subject: |
[PATCH 38/96] gnu: Add ocaml-base64 |
Date: |
Tue, 3 Jan 2017 20:11:19 +0100 |
* gnu/packages/ocaml.scm (ocaml-base64): New variable.
---
gnu/packages/ocaml.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index a695d4a5e..7d86fc2a7 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -1597,3 +1597,32 @@ without a complete in-memory representation of the
data.")
(description "Client-side URL transfer library, supporting HTTP and a
multitude of other network protocols (FTP/SMTP/RTSP/etc).")
(license license:isc)))
+
+(define-public ocaml-base64
+ (package
+ (name "ocaml-base64")
+ (version "2.1.2")
+ (home-page "https://github.com/mirage/ocaml-base64")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append home-page "/releases/download/v" version
+ "/base64-" version ".tbz"))
+ (sha256
+ (base32
+ "1p45sawchmrkr22gkmydjc4ary23pisp58zsnb7iq7d82nxs1lfq"))))
+ (build-system ocaml-build-system)
+ (arguments
+ `(#:build-flags (list "build" "--tests" "true")
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'configure))))
+ (native-inputs `(("topkg" ,ocaml-topkg)
+ ("opam" ,opam)
+ ("rresult" ,ocaml-rresult)
+ ("bos" ,ocaml-bos)
+ ("alcotest" ,ocaml-alcotest)))
+ (synopsis "Base64 encoding for OCaml")
+ (description "Base64 is a group of similar binary-to-text encoding schemes
+that represent binary data in an ASCII string format by translating it into a
+radix-64 representation. It is specified in RFC 4648.")
+ (license license:isc)))
--
2.11.0
- [PATCH 28/96] gnu: Add ocaml-lwt, (continued)
- [PATCH 28/96] gnu: Add ocaml-lwt, Julien Lepiller, 2017/01/03
- [PATCH 29/96] gnu: Add ocaml-logs, Julien Lepiller, 2017/01/03
- [PATCH 30/96] gnu: Add ocaml-fpath, Julien Lepiller, 2017/01/03
- [PATCH 31/96] gnu: Add ocaml-bos, Julien Lepiller, 2017/01/03
- [PATCH 32/96] gnu: Add ocaml-xmlm, Julien Lepiller, 2017/01/03
- [PATCH 33/96] gnu: Add ocaml-ulex, Julien Lepiller, 2017/01/03
- [PATCH 34/96] gnu: Add ocaml-uchar, Julien Lepiller, 2017/01/03
- [PATCH 35/96] gnu: Add ocaml-uutf, Julien Lepiller, 2017/01/03
- [PATCH 36/96] gnu: Add ocaml-jsonm, Julien Lepiller, 2017/01/03
- [PATCH 37/96] gnu: Add ocaml-ocurl, Julien Lepiller, 2017/01/03
- [PATCH 38/96] gnu: Add ocaml-base64,
Julien Lepiller <=
- [PATCH 39/96] gnu: Add ocamlify, Julien Lepiller, 2017/01/03
- [PATCH 41/96] gnu: Add ocaml-batteries, Julien Lepiller, 2017/01/03
- [PATCH 40/96] gnu: Add omake, Julien Lepiller, 2017/01/03
- [PATCH 42/96] gnu: Add ocaml-pcre, Julien Lepiller, 2017/01/03
- [PATCH 43/96] gnu: Add ocaml-expect, Julien Lepiller, 2017/01/03
- [PATCH 44/96] gnu: Add ocaml-fileutils, Julien Lepiller, 2017/01/03
- [PATCH 45/96] gnu: Add ocaml-oasis, Julien Lepiller, 2017/01/03
- [PATCH 46/96] gnu: Add ocaml-js-build-tools, Julien Lepiller, 2017/01/03
- [PATCH 47/96] gnu: Add ocaml-bin-prot, Julien Lepiller, 2017/01/03