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