depot/third_party/nixpkgs/pkgs/development/ocaml-modules/owl/default.nix
Default email 23b612e36f Project import generated by Copybara.
GitOrigin-RevId: ae5c332cbb5827f6b1f02572496b141021de335f
2024-01-25 23:12:00 +09:00

30 lines
518 B
Nix

{ buildDunePackage
, dune-configurator
, fetchFromGitHub
, alcotest
, ctypes
, stdio
, openblasCompat
, owl-base
, npy
}:
buildDunePackage rec {
pname = "owl";
inherit (owl-base) version src meta;
checkInputs = [ alcotest ];
buildInputs = [ dune-configurator stdio ];
propagatedBuildInputs = [
ctypes
openblasCompat
owl-base
npy
];
doCheck = false;
# Tests fail with Clang: https://github.com/owlbarn/owl/issues/462
# and with GCC 13: https://github.com/owlbarn/owl/issues/653
}