2019-04-06 14:17:37 +01:00
|
|
|
{ stdenv, fetchzip, ocaml, findlib, ocamlbuild }:
|
|
|
|
|
|
|
|
let version = "2.0.0"; in
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2019-08-13 22:52:01 +01:00
|
|
|
pname = "ocaml-base64";
|
|
|
|
inherit version;
|
2019-04-06 14:17:37 +01:00
|
|
|
|
|
|
|
src = fetchzip {
|
|
|
|
url = "https://github.com/mirage/ocaml-base64/archive/v${version}.tar.gz";
|
|
|
|
sha256 = "1nv55gwq5vaxmrcz9ja2s165b1p9fhcxszc1l76043gpa56qm4fs";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ ocaml findlib ocamlbuild ];
|
|
|
|
|
|
|
|
createFindlibDestdir = true;
|
|
|
|
|
|
|
|
meta = {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/mirage/ocaml-base64";
|
2019-04-06 14:17:37 +01:00
|
|
|
platforms = ocaml.meta.platforms or [];
|
|
|
|
description = "Base64 encoding and decoding in OCaml";
|
|
|
|
license = stdenv.lib.licenses.isc;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ vbgl ];
|
|
|
|
};
|
|
|
|
}
|