git.iko.soy/typeable/nixpkgs
on master help sign in
Adds ocaml-base64

Base64 encoding and decoding in OCaml Homepage: https://github.com/mirage/ocaml-base64

commitc6d31ad7229344ba50086ccdcf6b86f47a3e2ded authorVincent Laporte <Vincent.Laporte@gmail.com> dateTue 3 Mar 2015, 11:01 (12 years ago) parentb9c02fe
2 files changed+26
pkgs/development/ocaml-modules/base64/default.nix+24 pkgs/top-level/all-packages.nix+2
pkgs/development/ocaml-modules/base64/default.nixnew file+24
@@ -0,0 +1,24 @@
1+{ stdenv, fetchzip, ocaml, findlib }:
2+
3+let version = "2.0.0"; in
4+
5+stdenv.mkDerivation {
6+ name = "ocaml-base64-${version}";
7+
8+ src = fetchzip {
9+ url = "https://github.com/mirage/ocaml-base64/archive/v${version}.tar.gz";
10+ sha256 = "1nv55gwq5vaxmrcz9ja2s165b1p9fhcxszc1l76043gpa56qm4fs";
11+ };
12+
13+ buildInputs = [ ocaml findlib ];
14+
15+ createFindlibDestdir = true;
16+
17+ meta = {
18+ homepage = https://github.com/mirage/ocaml-base64;
19+ platforms = ocaml.meta.platforms;
20+ description = "Base64 encoding and decoding in OCaml";
21+ license = stdenv.lib.licenses.isc;
22+ maintainers = with stdenv.lib.maintainers; [ vbgl ];
23+ };
24+}
pkgs/top-level/all-packages.nix+2
@@ -3811,6 +3811,8 @@ let
38113811
38123812 asn1-combinators = callPackage ../development/ocaml-modules/asn1-combinators { };
38133813
3814+ base64 = callPackage ../development/ocaml-modules/base64 { };
3815+
38143816 bolt = callPackage ../development/ocaml-modules/bolt { };
38153817
38163818 camlidl = callPackage ../development/tools/ocaml/camlidl { };