Adds ocaml-hex

Mininal OCaml library providing hexadecimal converters.

Homepage: https://github.com/mirage/ocaml-hex
This commit is contained in:
Vincent Laporte 2015-01-23 09:15:08 +01:00
parent 69cda1a7c0
commit 78f93c3de2
2 changed files with 25 additions and 0 deletions

View file

@ -0,0 +1,23 @@
{ stdenv, fetchzip, ocaml, findlib }:
let version = "0.1.0"; in
stdenv.mkDerivation {
name = "ocaml-hex-${version}";
src = fetchzip {
url = "https://github.com/mirage/ocaml-hex/archive/${version}.tar.gz";
sha256 = "1nna0v5wi1g8l9ywl43xda2lqbz3sa3ncpyg84bl9baxyfmw4p9n";
};
buildInputs = [ ocaml findlib ];
createFindlibDestdir = true;
meta = {
description = "Mininal OCaml library providing hexadecimal converters";
homepage = https://github.com/mirage/ocaml-hex;
license = stdenv.lib.licenses.isc;
maintainers = with stdenv.lib.maintainers; [ vbgl ];
platforms = ocaml.meta.platforms;
};
}

View file

@ -3785,6 +3785,8 @@ let
gtktop = callPackage ../development/ocaml-modules/gtktop { };
hex = callPackage ../development/ocaml-modules/hex { };
js_of_ocaml = callPackage ../development/tools/ocaml/js_of_ocaml { };
jsonm = callPackage ../development/ocaml-modules/jsonm { };