depot/third_party/nixpkgs/pkgs/development/ocaml-modules/owl/default.nix
Default email 686ce24904 Project import generated by Copybara.
GitOrigin-RevId: ac1f5b72a9e95873d1de0233fddcb56f99884b37
2023-02-16 18:41:37 +01:00

31 lines
470 B
Nix

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