depot/third_party/nixpkgs/pkgs/development/ocaml-modules/owl/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

26 lines
452 B
Nix

{ stdenv
, buildDunePackage
, dune-configurator
, fetchFromGitHub
, alcotest
, eigen
, stdio
, openblasCompat
, owl-base
, npy
}:
buildDunePackage rec {
pname = "owl";
inherit (owl-base) version src meta useDune2;
nativeCheckInputs = [ alcotest ];
buildInputs = [ dune-configurator stdio ];
propagatedBuildInputs = [
eigen openblasCompat owl-base npy
];
doCheck = !stdenv.isDarwin; # https://github.com/owlbarn/owl/issues/462
}