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