python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / ocaml-modules / ppx_cstubs / default.nix
blobc58004b9adca9cb1acc1c757279672384162965f
1 { lib
2 , fetchFromGitHub
3 , buildDunePackage
4 , bigarray-compat
5 , containers
6 , cppo
7 , ctypes
8 , integers
9 , num
10 , ppxlib
11 , re
12 , findlib
15 buildDunePackage rec {
16   pname = "ppx_cstubs";
17   version = "0.7.0";
19   minimalOCamlVersion = "4.08";
21   useDune2 = true;
23   src = fetchFromGitHub {
24     owner = "fdopen";
25     repo = "ppx_cstubs";
26     rev = version;
27     sha256 = "sha256-qMmwRWCIfNyhCQYPKLiufnb57sTR3P+WInOqtPDywFs=";
28   };
30   nativeBuildInputs = [ cppo findlib ];
32   buildInputs = [
33     bigarray-compat
34     containers
35     integers
36     num
37     ppxlib
38     re
39   ];
41   propagatedBuildInputs = [
42     ctypes
43   ];
45   strictDeps = true;
47   meta = with lib; {
48     homepage = "https://github.com/fdopen/ppx_cstubs";
49     changelog = "https://github.com/fdopen/ppx_cstubs/raw/${version}/CHANGES.md";
50     description = "Preprocessor for easier stub generation with ocaml-ctypes";
51     license = licenses.lgpl21Plus;
52     maintainers = [ maintainers.osener ];
53   };