python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / ocaml-modules / gsl / default.nix
blob4588d0c04b0478715051d881d44373cb62dd690b
1 { lib, stdenv, fetchurl, buildDunePackage, pkg-config, gsl, darwin, dune-configurator }:
3 buildDunePackage rec {
4   pname = "gsl";
5   version = "1.24.3";
7   useDune2 = true;
9   minimumOCamlVersion = "4.08";
11   src = fetchurl {
12     url = "https://github.com/mmottl/gsl-ocaml/releases/download/${version}/gsl-${version}.tbz";
13     sha256 = "1mpzcgbrha2l8iikqbmn32668v2mnnsykxg5n5jgs0qnskn2nvrn";
14   };
16   nativeBuildInputs = [ pkg-config ];
17   buildInputs = [ dune-configurator gsl ];
18   propagatedBuildInputs = lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Accelerate ];
20   meta = with lib; {
21     homepage = "https://mmottl.github.io/gsl-ocaml/";
22     description = "OCaml bindings to the GNU Scientific Library";
23     license = licenses.gpl3Plus;
24     maintainers = with maintainers; [ vbgl ];
25   };