1{
2 lib,
3 fetchFromGitHub,
4 buildDunePackage,
5 pkg-config,
6 gsl,
7 dune-configurator,
8}:
9
10buildDunePackage rec {
11 pname = "gsl";
12 version = "1.25.1";
13
14 minimalOCamlVersion = "4.12";
15
16 src = fetchFromGitHub {
17 owner = "mmottl";
18 repo = "gsl-ocaml";
19 rev = version;
20 hash = "sha256-h1jO2RheBBzxiBgig2yEPk4YyBaZxStt5f+KNZqHdBo=";
21 };
22
23 nativeBuildInputs = [ pkg-config ];
24 buildInputs = [
25 dune-configurator
26 gsl
27 ];
28
29 meta = with lib; {
30 homepage = "https://mmottl.github.io/gsl-ocaml/";
31 description = "OCaml bindings to the GNU Scientific Library";
32 license = licenses.gpl3Plus;
33 maintainers = with maintainers; [ vbgl ];
34 };
35}