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

32 lines
470 B
Nix
Raw Normal View History

{ 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
}