ocamlPackages.integers: init at 0.2.2

This commit is contained in:
Vincent Laporte 2017-07-11 21:11:53 +00:00
parent 88d9d2de5b
commit 6a3a4f559b
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,24 @@
{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, topkg, opam }:
stdenv.mkDerivation {
name = "ocaml${ocaml.version}-integers-0.2.2";
src = fetchurl {
url = https://github.com/ocamllabs/ocaml-integers/releases/download/v0.2.2/integers-0.2.2.tbz;
sha256 = "08b1ljw88ny3l0mdq6xmffjk8anfc77igryva5jz1p6f4f746ywk";
};
unpackCmd = "tar xjf $src";
buildInputs = [ ocaml findlib ocamlbuild topkg opam ];
inherit (topkg) buildPhase installPhase;
meta = {
description = "Various signed and unsigned integer types for OCaml";
license = stdenv.lib.licenses.mit;
homepage = https://github.com/ocamllabs/ocaml-integers;
maintainers = [ stdenv.lib.maintainers.vbgl ];
inherit (ocaml.meta) platforms;
};
}

View File

@ -228,6 +228,8 @@ let
inotify = callPackage ../development/ocaml-modules/inotify { };
integers = callPackage ../development/ocaml-modules/integers { };
io-page = callPackage ../development/ocaml-modules/io-page { };
ipaddr_p4 = callPackage ../development/ocaml-modules/ipaddr/2.6.1.nix { };