ocamlPackages.stdint: init at 0.3.0

This commit is contained in:
Gabriel Ebner 2017-10-02 12:18:35 +02:00
parent b370700d37
commit 7049172d72
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,25 @@
{ stdenv, fetchFromGitHub, ocaml, findlib, ocamlbuild }:
stdenv.mkDerivation rec {
name = "ocaml${ocaml.version}-stdint-${version}";
version = "0.3.0";
src = fetchFromGitHub {
owner = "andrenth";
repo = "ocaml-stdint";
rev = version;
sha256 = "18nh23yx4ghgq7mjf4mdyq8kj1fdw5d0abw919s8n4mv21cmpwia";
};
buildInputs = [ ocaml findlib ocamlbuild ];
configurePhase = "ocaml setup.ml -configure --prefix $out";
createFindlibDestdir = true;
meta = {
description = "Various signed and unsigned integers for OCaml";
license = stdenv.lib.licenses.mit;
maintainers = [ stdenv.lib.maintainers.gebner ];
inherit (src.meta) homepage;
inherit (ocaml.meta) platforms;
};
}

View File

@ -625,6 +625,8 @@ let
sawja = callPackage ../development/ocaml-modules/sawja { };
stdint = callPackage ../development/ocaml-modules/stdint { };
uucd = callPackage ../development/ocaml-modules/uucd { };
uucp = callPackage ../development/ocaml-modules/uucp { };
uunf = callPackage ../development/ocaml-modules/uunf { };