diff options
| author | Marcos Magueta <maguetamarcos@gmail.com> | 2024-11-26 04:24:42 -0300 |
|---|---|---|
| committer | Marcos Magueta <maguetamarcos@gmail.com> | 2024-11-26 04:24:42 -0300 |
| commit | 872fc56a414f8c2a4818463be9e104195a0b6242 (patch) | |
| tree | 07d1591e043031fe21211400d53f4dd7c4b47bd7 /deps/ppx_protocol_conv_xml_light.nix | |
| parent | f487fbee29dcebf62400be20fd509ba1794e952f (diff) | |
| download | Sakura-872fc56a414f8c2a4818463be9e104195a0b6242.tar.gz Sakura-872fc56a414f8c2a4818463be9e104195a0b6242.zip | |
send XML through sockets
Diffstat (limited to 'deps/ppx_protocol_conv_xml_light.nix')
| -rw-r--r-- | deps/ppx_protocol_conv_xml_light.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/deps/ppx_protocol_conv_xml_light.nix b/deps/ppx_protocol_conv_xml_light.nix new file mode 100644 index 0000000..51579f0 --- /dev/null +++ b/deps/ppx_protocol_conv_xml_light.nix @@ -0,0 +1,27 @@ +{ lib, ppx_protocol_conv, ocamlPackages, fetchFromGitHub, defaultVersion ? "5.2.1" }: +ocamlPackages.buildDunePackage { + duneVersion = "3"; + + pname = "ppx_protocol_conv_xml_light"; + version = defaultVersion; + + minimalOCamlVersion = "4.08"; + + src = fetchFromGitHub { + owner = "andersfugmann"; + repo = "ppx_protocol_conv"; + rev = "master"; + sha256 = "gFYg0251NOPPkc01BiSU3NEj3JWGKg1fu6UgQ67BBZM="; + }; + + buildInputs = [ppx_protocol_conv ocamlPackages.xml-light ocamlPackages.ppx_sexp_conv ocamlPackages.sexplib ocamlPackages.alcotest ]; + + propagatedBuildInputs = [ ocamlPackages.xml-light ocamlPackages.ppxlib ocamlPackages.ppx_sexp_conv ocamlPackages.sexplib ocamlPackages.alcotest ]; + + doCheck = true; + + meta = { + license = lib.licenses.bsd3; + homepage = "https://github.com/andersfugmann/ppx_protocol_conv"; + }; +} |
