ocaml-protoc-plugin: init at 4.3.1

authored by

Julien Girard and committed by
Vincent Laporte
8d96cbfd 02bbd3d8

+55
+53
pkgs/development/ocaml-modules/ocaml-protoc-plugin/default.nix
··· 1 + { lib 2 + , fetchFromGitHub 3 + , buildDunePackage 4 + , pkg-config 5 + , protobuf 6 + , zarith 7 + , ppx_deriving 8 + , ppx_deriving_yojson 9 + , re 10 + , dune-site 11 + , ppx_expect 12 + }: 13 + 14 + buildDunePackage rec { 15 + pname = "ocaml-protoc-plugin"; 16 + version = "4.3.1"; 17 + 18 + src = fetchFromGitHub { 19 + owner = "issuu"; 20 + repo = "ocaml-protoc-plugin"; 21 + rev = version; 22 + hash = "sha256-KFd43Ukz5gMeM3ik2VlfaIPwcZe9yaxk9VcQIrauUGU="; 23 + }; 24 + 25 + nativeBuildInputs = [ 26 + pkg-config 27 + protobuf 28 + ]; 29 + buildInputs = [ 30 + zarith 31 + ppx_deriving 32 + ppx_deriving_yojson 33 + re 34 + dune-site 35 + ppx_expect 36 + protobuf 37 + ]; 38 + doCheck = true; 39 + nativeCheckInputs = [ protobuf ]; 40 + 41 + meta = { 42 + description = "Maps google protobuf compiler to Ocaml types."; 43 + homepage = "https://github.com/issuu/ocaml-protoc-plugin"; 44 + license = lib.licenses.asl20; 45 + longDescription = '' 46 + The goal of Ocaml protoc plugin is to create an 47 + up to date plugin for the google protobuf compiler 48 + (protoc) to generate Ocaml types and serialization 49 + and de-serialization function from a .proto file. 50 + ''; 51 + maintainers = [ lib.maintainers.GirardR1006 ]; 52 + }; 53 + }
+2
pkgs/top-level/ocaml-packages.nix
··· 1153 1153 1154 1154 ocaml-protoc = callPackage ../development/ocaml-modules/ocaml-protoc { }; 1155 1155 1156 + ocaml-protoc-plugin = callPackage ../development/ocaml-modules/ocaml-protoc-plugin { }; 1157 + 1156 1158 ocaml-r = callPackage ../development/ocaml-modules/ocaml-r { }; 1157 1159 1158 1160 ocaml-recovery-parser = callPackage ../development/tools/ocaml/ocaml-recovery-parser { };