1 { lib, fetchFromGitHub, fetchpatch, buildDunePackage, pkg-config, dune-configurator, stdio, R
11 minimalOCamlVersion = "4.08";
13 src = fetchFromGitHub {
17 sha256 = "sha256-jPyVMxjeh9+xu0dD1gelAxcOhxouKczyvzVoKZ5oSrs=";
20 # Finds R and Rmathlib separatley
23 url = "https://github.com/pveber/ocaml-r/commit/aa96dc5.patch";
24 sha256 = "sha256-xW33W2ciesyUkDKEH08yfOXv0wP0V6X80or2/n2Nrb4=";
28 nativeBuildInputs = [ pkg-config R ];
29 buildInputs = [ dune-configurator stdio R ];
32 checkInputs = [ alcotest ];
35 description = "OCaml bindings for the R interpreter";
36 inherit (src.meta) homepage;
37 license = lib.licenses.gpl3;
38 maintainers = [ lib.maintainers.bcdarwin ];