1 { lib, stdenv, fetchurl, buildDunePackage, pkg-config, gsl, darwin, dune-configurator }:
9 minimumOCamlVersion = "4.08";
12 url = "https://github.com/mmottl/gsl-ocaml/releases/download/${version}/gsl-${version}.tbz";
13 sha256 = "1mpzcgbrha2l8iikqbmn32668v2mnnsykxg5n5jgs0qnskn2nvrn";
16 nativeBuildInputs = [ pkg-config ];
17 buildInputs = [ dune-configurator gsl ];
18 propagatedBuildInputs = lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Accelerate ];
21 homepage = "https://mmottl.github.io/gsl-ocaml/";
22 description = "OCaml bindings to the GNU Scientific Library";
23 license = licenses.gpl3Plus;
24 maintainers = with maintainers; [ vbgl ];