aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/development/ocaml-modules/gsl/default.nix
blob: c292c3d6ab5f2cbd7e5f6906261b7c41a7b8338d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ lib, fetchurl, buildDunePackage, pkg-config, gsl
, dune-configurator
}:

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 ];

  meta = {
    homepage = "https://mmottl.github.io/gsl-ocaml/";
    description = "OCaml bindings to the GNU Scientific Library";
    license = lib.licenses.gpl3Plus;
    maintainers = [ lib.maintainers.vbgl ];
  };
}