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

27 lines
473 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
, 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
];
doCheck = !stdenv.isDarwin; # https://github.com/owlbarn/owl/issues/462
}