diff options
author | Ozan Sener <ozan@tella.tv> | 2021-03-06 22:10:57 +0100 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2021-03-11 08:28:04 +0100 |
commit | 28c7e68e995213078ecab0d61a23b688bdb3cf3b (patch) | |
tree | 7fa5f2f3ed115c55bf52bfbbb1b4859cb40cf0a7 /pkgs/development/ocaml-modules/ppx_cstubs | |
parent | 806b9d034317ee05d707f67fa30add4577f01e1d (diff) |
ocamlPackages.ppx_cstubs : Init at 0.6.1.1
Diffstat (limited to 'pkgs/development/ocaml-modules/ppx_cstubs')
-rw-r--r-- | pkgs/development/ocaml-modules/ppx_cstubs/default.nix | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/ppx_cstubs/default.nix b/pkgs/development/ocaml-modules/ppx_cstubs/default.nix new file mode 100644 index 0000000000000..b4ddb4dd5e45c --- /dev/null +++ b/pkgs/development/ocaml-modules/ppx_cstubs/default.nix @@ -0,0 +1,44 @@ +{ lib +, fetchFromGitHub +, buildDunePackage +, bigarray-compat +, containers +, cppo +, ctypes +, integers +, num +, ppxlib +, re +}: + +buildDunePackage rec { + pname = "ppx_cstubs"; + version = "0.6.1.1"; + + useDune2 = true; + + src = fetchFromGitHub { + owner = "fdopen"; + repo = "ppx_cstubs"; + rev = version; + sha256 = "0rgg78435ypi6ryhcq5ljkch4qjvra2jqjd47c2hhhcbwvi2ssxh"; + }; + + buildInputs = [ + bigarray-compat + containers + cppo + ctypes + integers + num + ppxlib + re + ]; + + meta = with lib; { + homepage = "https://github.com/fdopen/ppx_cstubs"; + description = "Preprocessor for easier stub generation with ocaml-ctypes"; + license = licenses.mit; + maintainers = [ maintainers.osener ]; + }; +} |