ocamlPackages.spacetime_lib: init at 0.1.0

This commit is contained in:
Vincent Laporte 2017-01-24 21:18:33 +00:00
parent 88e620f587
commit 5bcf3c5e25
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,27 @@
{ stdenv, fetchFromGitHub, ocaml, findlib, owee }:
stdenv.mkDerivation rec {
name = "ocaml${ocaml.version}-spacetime_lib-${version}";
version = "0.1.0";
src = fetchFromGitHub {
owner = "lpw25";
repo = "spacetime_lib";
rev = version;
sha256 = "1g91y6wl3z18jhaz2q03wn54zj6xk1qcjidr1nc6nq9a8906lcq5";
};
buildInputs = [ ocaml findlib ];
propagatedBuildInputs = [ owee ];
createFindlibDestdir = true;
meta = {
description = "An OCaml library providing some simple operations for handling OCaml spacetime profiles";
inherit (src.meta) homepage;
inherit (ocaml.meta) platforms;
license = stdenv.lib.licenses.mit;
maintainers = [ stdenv.lib.maintainers.vbgl ];
};
}

View File

@ -374,6 +374,8 @@ let
sequence = callPackage ../development/ocaml-modules/sequence { };
spacetime_lib = callPackage ../development/ocaml-modules/spacetime_lib { };
sqlexpr = callPackage ../development/ocaml-modules/sqlexpr { };
tuntap = callPackage ../development/ocaml-modules/tuntap { };