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

27 lines
446 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
, 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-11-16 04:19:25 +00:00
buildInputs = [ dune-configurator stdio ];
2020-02-27 04:27:01 +00:00
propagatedBuildInputs = [
2020-11-16 04:19:25 +00:00
eigen openblasCompat owl-base npy
2020-02-27 04:27:01 +00:00
];
doCheck = !stdenv.isDarwin; # https://github.com/owlbarn/owl/issues/462
}