mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
ocamlPackages.capnp: init at 3.6.0
This commit is contained in:
parent
9d6ec0c45a
commit
b141f3467b
56
pkgs/development/ocaml-modules/capnp/default.nix
Normal file
56
pkgs/development/ocaml-modules/capnp/default.nix
Normal file
@ -0,0 +1,56 @@
|
||||
{ lib
|
||||
, buildDunePackage
|
||||
, fetchFromGitHub
|
||||
, base_quickcheck ? null
|
||||
, capnproto
|
||||
, ocplib-endian
|
||||
, ounit2
|
||||
, res
|
||||
, result
|
||||
, stdint
|
||||
, stdio
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "capnp";
|
||||
version = "3.6.0";
|
||||
|
||||
minimalOCamlVersion = "4.08";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "capnproto";
|
||||
repo = "capnp-ocaml";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-G4B1llsHnGcuGIarDB248QMaRBvS47IEQB5B93wY7nA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
capnproto
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
stdio
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
ocplib-endian
|
||||
res
|
||||
result
|
||||
stdint
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
base_quickcheck
|
||||
ounit2
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = {
|
||||
description = "OCaml code generation plugin for the Cap'n Proto serialization framework";
|
||||
homepage = "https://github.com/capnproto/capnp-ocaml";
|
||||
changelog = "https://github.com/capnproto/capnp-ocaml/blob/${version}/CHANGES.md";
|
||||
license = lib.licenses.bsd2;
|
||||
maintainers = with lib.maintainers; [ sixstring982 ];
|
||||
};
|
||||
}
|
@ -156,6 +156,8 @@ let
|
||||
then callPackage ../development/ocaml-modules/camomile { }
|
||||
else callPackage ../development/ocaml-modules/camomile/0.8.5.nix { };
|
||||
|
||||
capnp = callPackage ../development/ocaml-modules/capnp { };
|
||||
|
||||
caqti = callPackage ../development/ocaml-modules/caqti { };
|
||||
|
||||
caqti-async = callPackage ../development/ocaml-modules/caqti/async.nix { };
|
||||
|
Loading…
Reference in New Issue
Block a user