summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/owl/default.nix
blob: 7fa912d808db10c247cd394bebef97e626bc7e2c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ stdenv
, buildDunePackage
, dune-configurator
, fetchFromGitHub
, alcotest
, eigen
, stdio
, stdlib-shims
, openblasCompat
, owl-base
, npy
}:

buildDunePackage rec {
  pname = "owl";

  inherit (owl-base) version src meta useDune2;

  checkInputs = [ alcotest ];
  buildInputs = [ dune-configurator ];
  propagatedBuildInputs = [
    eigen stdio stdlib-shims openblasCompat owl-base npy
  ];

  doCheck = !stdenv.isDarwin;  # https://github.com/owlbarn/owl/issues/462
}