aboutsummaryrefslogtreecommitdiffstats
path: root/deps
diff options
context:
space:
mode:
authorMarcos Magueta <maguetamarcos@gmail.com>2024-11-25 16:00:09 -0300
committerMarcos Magueta <maguetamarcos@gmail.com>2024-11-25 16:00:09 -0300
commitf487fbee29dcebf62400be20fd509ba1794e952f (patch)
tree7113674b11632fcfacc71c36121a09b242aafae0 /deps
parent4f1ba5f866c63db27ae33c6cd8fa342ae3163ffa (diff)
downloadSakura-f487fbee29dcebf62400be20fd509ba1794e952f.tar.gz
Sakura-f487fbee29dcebf62400be20fd509ba1794e952f.zip
add ppx_protocol_conv
Diffstat (limited to 'deps')
-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";
+ };
+}