ocamlPackages.gsl: fix building on darwin
This commit is contained in:
parent
8071b8ba82
commit
ff48d9500e
@ -1,6 +1,4 @@
|
|||||||
{ lib, fetchurl, buildDunePackage, pkg-config, gsl
|
{ stdenv, fetchurl, buildDunePackage, pkg-config, gsl, darwin, dune-configurator }:
|
||||||
, dune-configurator
|
|
||||||
}:
|
|
||||||
|
|
||||||
buildDunePackage rec {
|
buildDunePackage rec {
|
||||||
pname = "gsl";
|
pname = "gsl";
|
||||||
@ -14,11 +12,12 @@ buildDunePackage rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ dune-configurator gsl pkg-config ];
|
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/";
|
homepage = "https://mmottl.github.io/gsl-ocaml/";
|
||||||
description = "OCaml bindings to the GNU Scientific Library";
|
description = "OCaml bindings to the GNU Scientific Library";
|
||||||
license = lib.licenses.gpl3Plus;
|
license = licenses.gpl3Plus;
|
||||||
maintainers = [ lib.maintainers.vbgl ];
|
maintainers = with maintainers; [ vbgl ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user