1 { lib, stdenv, buildDunePackage, fetchFromGitHub, ctypes, libcxx }:
9 src = fetchFromGitHub {
13 sha256 = "1zaw03as14hyvfpyj6bjrfbcxp2ljdbqcqqgm53kms244mig425f";
16 minimumOCamlVersion = "4.02";
18 env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin "-I${lib.getDev libcxx}/include/c++/v1";
20 propagatedBuildInputs = [ ctypes ];
23 inherit (src.meta) homepage;
24 description = "Minimal/incomplete Ocaml interface to Eigen3, mostly for Owl";
25 platforms = platforms.x86_64;
26 maintainers = [ maintainers.bcdarwin ];
27 license = licenses.mit;