2020-02-27 04:27:01 +00:00
|
|
|
{ stdenv
|
|
|
|
, buildDune2Package
|
|
|
|
, dune-configurator
|
|
|
|
, fetchFromGitHub
|
|
|
|
, alcotest
|
|
|
|
, eigen
|
|
|
|
, stdio
|
|
|
|
, stdlib-shims
|
|
|
|
, openblasCompat
|
|
|
|
, owl-base
|
|
|
|
, npy
|
2019-11-26 12:18:34 +00:00
|
|
|
}:
|
|
|
|
|
2020-02-27 04:27:01 +00:00
|
|
|
buildDune2Package rec {
|
2019-11-26 12:18:34 +00:00
|
|
|
pname = "owl";
|
|
|
|
|
|
|
|
inherit (owl-base) version src meta;
|
|
|
|
|
|
|
|
checkInputs = [ alcotest ];
|
2020-02-27 04:27:01 +00:00
|
|
|
buildInputs = [ dune-configurator ];
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
eigen stdio stdlib-shims openblasCompat owl-base npy
|
|
|
|
];
|
2019-11-26 12:18:34 +00:00
|
|
|
|
2019-12-07 00:19:05 +00:00
|
|
|
doCheck = !stdenv.isDarwin; # https://github.com/owlbarn/owl/issues/462
|
2019-11-26 12:18:34 +00:00
|
|
|
}
|