1 { lib, stdenv, fetchurl, darwin, buildDunePackage, dune-configurator
5 assert (!blas.isILP64) && (!lapack.isILP64);
13 minimumOCamlVersion = "4.08";
16 url = "https://github.com/mmottl/lacaml/releases/download/${version}/lacaml-${version}.tbz";
17 sha256 = "1i47wqnd9iy6ndbi9zfahpb592gahp6im26rgpwch13vgzk3kifd";
20 buildInputs = [ dune-configurator ];
21 propagatedBuildInputs = [ lapack blas ] ++
22 lib.optionals stdenv.isDarwin
23 [ darwin.apple_sdk.frameworks.Accelerate ];
26 homepage = "https://mmottl.github.io/lacaml";
27 description = "OCaml bindings for BLAS and LAPACK";
28 license = licenses.lgpl21Plus;
29 maintainers = [ maintainers.vbgl ];