ocamlPackages.{owl-base,owl}: init at 0.7.1

This commit is contained in:
Ben Darwin 2019-11-26 07:18:34 -05:00 committed by Vincent Laporte
parent 777efe8425
commit d016a507ea
3 changed files with 44 additions and 0 deletions

View file

@ -0,0 +1,25 @@
{ stdenv, buildDunePackage, fetchFromGitHub, integers, stdlib-shims }:
buildDunePackage rec {
pname = "owl-base";
version = "0.7.1";
src = fetchFromGitHub {
owner = "owlbarn";
repo = "owl";
rev = version;
sha256 = "1v4jfn3w18zq188f9gskx9ffja3xx59j2mgrw6azp8lsbqixg5xk";
};
propagatedBuildInputs = [ stdlib-shims ];
minimumOCamlVersion = "4.06";
meta = with stdenv.lib; {
description = "Numerical computing library for Ocaml";
homepage = "https://ocaml.xyz";
platforms = platforms.x86_64;
maintainers = [ maintainers.bcdarwin ];
license = licenses.mit;
};
}

View file

@ -0,0 +1,15 @@
{ stdenv, buildDunePackage, fetchFromGitHub, alcotest
, eigen, stdio, stdlib-shims, openblasCompat, owl-base
}:
buildDunePackage rec {
pname = "owl";
inherit (owl-base) version src meta;
buildInputs = [ eigen ];
checkInputs = [ alcotest ];
propagatedBuildInputs = [ stdio stdlib-shims openblasCompat owl-base ];
# tests not enabled for now due to owlbarn/owl/issues/460
}

View file

@ -605,6 +605,10 @@ let
owee = callPackage ../development/ocaml-modules/owee { };
owl-base = callPackage ../development/ocaml-modules/owl-base { };
owl = callPackage ../development/ocaml-modules/owl { };
ounit = callPackage ../development/ocaml-modules/ounit { };
pgsolver = callPackage ../development/ocaml-modules/pgsolver { };