ocamlPackages.gsl: fix building on darwin

This commit is contained in:
Sandro Jäckel 2020-11-04 18:02:32 +01:00 committed by Vincent Laporte
parent 8071b8ba82
commit ff48d9500e

View File

@ -1,6 +1,4 @@
{ lib, fetchurl, buildDunePackage, pkg-config, gsl
, dune-configurator
}:
{ stdenv, fetchurl, buildDunePackage, pkg-config, gsl, darwin, dune-configurator }:
buildDunePackage rec {
pname = "gsl";
@ -14,11 +12,12 @@ buildDunePackage rec {
};
buildInputs = [ dune-configurator gsl pkg-config ];
propagatedBuildInputs = stdenv.lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Accelerate ];
meta = {
meta = with stdenv.lib; {
homepage = "https://mmottl.github.io/gsl-ocaml/";
description = "OCaml bindings to the GNU Scientific Library";
license = lib.licenses.gpl3Plus;
maintainers = [ lib.maintainers.vbgl ];
license = licenses.gpl3Plus;
maintainers = with maintainers; [ vbgl ];
};
}