2020-04-24 23:36:52 +00:00
|
|
|
{ stdenv
|
|
|
|
, buildDunePackage
|
|
|
|
, dune-configurator
|
|
|
|
, fetchFromGitHub
|
|
|
|
, alcotest
|
2023-07-15 17:15:38 +00:00
|
|
|
, ctypes
|
2020-04-24 23:36:52 +00:00
|
|
|
, 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";
|
|
|
|
|
2023-02-16 17:41:37 +00:00
|
|
|
inherit (owl-base) version src meta;
|
|
|
|
|
|
|
|
duneVersion = "3";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-02-09 11:40:11 +00:00
|
|
|
checkInputs = [ alcotest ];
|
2020-11-19 00:13:47 +00:00
|
|
|
buildInputs = [ dune-configurator stdio ];
|
2020-04-24 23:36:52 +00:00
|
|
|
propagatedBuildInputs = [
|
2023-07-15 17:15:38 +00:00
|
|
|
ctypes
|
2023-02-09 11:40:11 +00:00
|
|
|
openblasCompat
|
|
|
|
owl-base
|
|
|
|
npy
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
2023-02-09 11:40:11 +00:00
|
|
|
doCheck = !stdenv.isDarwin; # https://github.com/owlbarn/owl/issues/462
|
2020-04-24 23:36:52 +00:00
|
|
|
}
|