Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / ocaml-modules / ppx_cstubs / default.nix
blobb4ddb4dd5e45c64df07fd6086f9b01ad5e0f7914
1 { lib
2 , fetchFromGitHub
3 , buildDunePackage
4 , bigarray-compat
5 , containers
6 , cppo
7 , ctypes
8 , integers
9 , num
10 , ppxlib
11 , re
14 buildDunePackage rec {
15   pname = "ppx_cstubs";
16   version = "0.6.1.1";
18   useDune2 = true;
20   src = fetchFromGitHub {
21     owner = "fdopen";
22     repo = "ppx_cstubs";
23     rev = version;
24     sha256 = "0rgg78435ypi6ryhcq5ljkch4qjvra2jqjd47c2hhhcbwvi2ssxh";
25   };
27   buildInputs = [
28     bigarray-compat
29     containers
30     cppo
31     ctypes
32     integers
33     num
34     ppxlib
35     re
36   ];
38   meta = with lib; {
39     homepage = "https://github.com/fdopen/ppx_cstubs";
40     description = "Preprocessor for easier stub generation with ocaml-ctypes";
41     license = licenses.mit;
42     maintainers = [ maintainers.osener ];
43   };