mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
ocamlPackages.ppx_cstubs : Init at 0.6.1.1
This commit is contained in:
parent
806b9d0343
commit
28c7e68e99
2 changed files with 48 additions and 0 deletions
44
pkgs/development/ocaml-modules/ppx_cstubs/default.nix
Normal file
44
pkgs/development/ocaml-modules/ppx_cstubs/default.nix
Normal file
|
@ -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_cstubs = callPackage ../development/ocaml-modules/ppx_cstubs {
|
||||
ppxlib = ppxlib.override { version = "0.22.0"; };
|
||||
};
|
||||
|
||||
ppx_derivers = callPackage ../development/ocaml-modules/ppx_derivers {};
|
||||
|
||||
ppx_deriving = callPackage ../development/ocaml-modules/ppx_deriving {};
|
||||
|
|
Loading…
Reference in a new issue