2020-02-27 04:27:01 +00:00
|
|
|
{ stdenv
|
2020-03-15 17:14:11 +00:00
|
|
|
, buildDunePackage
|
2020-02-27 04:27:01 +00:00
|
|
|
, dune-configurator
|
|
|
|
, fetchFromGitHub
|
|
|
|
, alcotest
|
|
|
|
, eigen
|
|
|
|
, stdio
|
2020-04-30 23:15:08 +01:00
|
|
|
, openblasCompat
|
2020-02-27 04:27:01 +00:00
|
|
|
, owl-base
|
|
|
|
, npy
|
2019-11-26 12:18:34 +00:00
|
|
|
}:
|
|
|
|
|
2020-03-31 15:47:18 +01:00
|
|
|
|
2020-03-15 17:14:11 +00:00
|
|
|
buildDunePackage rec {
|
2019-11-26 12:18:34 +00:00
|
|
|
pname = "owl";
|
|
|
|
|
2020-03-15 17:14:11 +00:00
|
|
|
inherit (owl-base) version src meta useDune2;
|
2019-11-26 12:18:34 +00:00
|
|
|
|
|
|
|
checkInputs = [ alcotest ];
|
2020-11-16 04:19:25 +00:00
|
|
|
buildInputs = [ dune-configurator stdio ];
|
2020-02-27 04:27:01 +00:00
|
|
|
propagatedBuildInputs = [
|
2020-11-16 04:19:25 +00:00
|
|
|
eigen openblasCompat owl-base npy
|
2020-02-27 04:27:01 +00:00
|
|
|
];
|
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
|
|
|
}
|