ocamlPackages.gsl: init at 1.24.3

This commit is contained in:
Vincent Laporte 2020-10-07 06:57:15 +02:00 committed by Vincent Laporte
parent e24a4b950c
commit b3910a583c
2 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,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 ];
};
}

View file

@ -322,6 +322,10 @@ let
inherit (pkgs) gnuplot;
};
gsl = callPackage ../development/ocaml-modules/gsl {
inherit (pkgs) gsl;
};
hacl_x25519 = callPackage ../development/ocaml-modules/hacl_x25519 { };
herelib = callPackage ../development/ocaml-modules/herelib { };