3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/ocaml-modules/gsl/default.nix

24 lines
768 B
Nix
Raw Normal View History

{ stdenv, fetchurl, buildDunePackage, pkg-config, gsl, darwin, dune-configurator }:
2020-10-07 05:57:15 +01:00
buildDunePackage rec {
pname = "gsl";
version = "1.24.3";
minimumOCamlVersion = "4.08";
src = fetchurl {
url = "https://github.com/mmottl/gsl-ocaml/releases/download/${version}/gsl-${version}.tbz";
sha256 = "1mpzcgbrha2l8iikqbmn32668v2mnnsykxg5n5jgs0qnskn2nvrn";
};
buildInputs = [ dune-configurator gsl pkg-config ];
propagatedBuildInputs = stdenv.lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Accelerate ];
2020-10-07 05:57:15 +01:00
meta = with stdenv.lib; {
2020-10-07 05:57:15 +01:00
homepage = "https://mmottl.github.io/gsl-ocaml/";
description = "OCaml bindings to the GNU Scientific Library";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ vbgl ];
2020-10-07 05:57:15 +01:00
};
}