ocamlPackages.ppx_cstubs : Init at 0.6.1.1
This commit is contained in:
parent
806b9d0343
commit
28c7e68e99
|
@ -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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -1001,6 +1001,10 @@ let
|
||||||
|
|
||||||
ppx_cstruct = callPackage ../development/ocaml-modules/cstruct/ppx.nix { };
|
ppx_cstruct = callPackage ../development/ocaml-modules/cstruct/ppx.nix { };
|
||||||
|
|
||||||
|
ppx_cstubs = callPackage ../development/ocaml-modules/ppx_cstubs {
|
||||||
|
ppxlib = ppxlib.override { version = "0.22.0"; };
|
||||||
|
};
|
||||||
|
|
||||||
ppx_derivers = callPackage ../development/ocaml-modules/ppx_derivers {};
|
ppx_derivers = callPackage ../development/ocaml-modules/ppx_derivers {};
|
||||||
|
|
||||||
ppx_deriving = callPackage ../development/ocaml-modules/ppx_deriving {};
|
ppx_deriving = callPackage ../development/ocaml-modules/ppx_deriving {};
|
||||||
|
|
Loading…
Reference in New Issue