nixpkgs/pkgs/development/ocaml-modules/owl/default.nix

28 lines
474 B
Nix
Raw Normal View History

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