2020-04-24 23:36:52 +00:00
|
|
|
{ stdenv
|
|
|
|
, buildDunePackage
|
|
|
|
, dune-configurator
|
|
|
|
, fetchFromGitHub
|
|
|
|
, alcotest
|
|
|
|
, eigen
|
|
|
|
, stdio
|
2020-05-15 21:57:56 +00:00
|
|
|
, openblasCompat
|
2020-04-24 23:36:52 +00:00
|
|
|
, owl-base
|
|
|
|
, npy
|
|
|
|
}:
|
|
|
|
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "owl";
|
|
|
|
|
|
|
|
inherit (owl-base) version src meta useDune2;
|
|
|
|
|
|
|
|
checkInputs = [ alcotest ];
|
2020-11-19 00:13:47 +00:00
|
|
|
buildInputs = [ dune-configurator stdio ];
|
2020-04-24 23:36:52 +00:00
|
|
|
propagatedBuildInputs = [
|
2020-11-19 00:13:47 +00:00
|
|
|
eigen openblasCompat owl-base npy
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
doCheck = !stdenv.isDarwin; # https://github.com/owlbarn/owl/issues/462
|
|
|
|
}
|