aboutsummaryrefslogtreecommitdiffstats
path: root/deps/ppx_protocol_conv.nix
diff options
context:
space:
mode:
Diffstat (limited to 'deps/ppx_protocol_conv.nix')
-rw-r--r--deps/ppx_protocol_conv.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/deps/ppx_protocol_conv.nix b/deps/ppx_protocol_conv.nix
new file mode 100644
index 0000000..c0a402e
--- /dev/null
+++ b/deps/ppx_protocol_conv.nix
@@ -0,0 +1,27 @@
+{ lib, ocamlPackages, fetchFromGitHub, defaultVersion ? "5.2.1" }:
+ocamlPackages.buildDunePackage {
+ duneVersion = "3";
+
+ pname = "ppx_protocol_conv";
+ version = defaultVersion;
+
+ minimalOCamlVersion = "4.07";
+
+ src = fetchFromGitHub {
+ owner = "andersfugmann";
+ repo = "ppx_protocol_conv";
+ rev = "master";
+ sha256 = "jJJ6FEn+AkMknqun0GkXh5DSXsJnFbdE7U8BQ7Dd/Fw=";
+ };
+
+ buildInputs = [];
+
+ propagatedBuildInputs = [];
+
+ doCheck = true;
+
+ meta = {
+ license = lib.licenses.bsd3;
+ homepage = "https://github.com/andersfugmann/ppx_protocol_conv";
+ };
+}