From ae9b63301bad24b1ebebf6365e5201a8a775b395 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Sat, 23 Apr 2022 10:50:30 +0200 Subject: [PATCH] ocamlPackages.atdgen-codec-runtime: init at 2.4.1 --- .../ocaml-modules/atdgen/codec-runtime.nix | 18 ++++++++++++++++++ pkgs/top-level/ocaml-packages.nix | 2 ++ 2 files changed, 20 insertions(+) create mode 100644 pkgs/development/ocaml-modules/atdgen/codec-runtime.nix diff --git a/pkgs/development/ocaml-modules/atdgen/codec-runtime.nix b/pkgs/development/ocaml-modules/atdgen/codec-runtime.nix new file mode 100644 index 000000000000..9ad64549ea3f --- /dev/null +++ b/pkgs/development/ocaml-modules/atdgen/codec-runtime.nix @@ -0,0 +1,18 @@ +{ lib, buildDunePackage, fetchurl }: + +buildDunePackage rec { + pname = "atdgen-codec-runtime"; + version = "2.4.1"; + + src = fetchurl { + url = "https://github.com/ahrefs/atd/releases/download/${version}/atdgen-codec-runtime-${version}.tbz"; + sha256 = "sha256:16888rnvhgh5yxxsnzsj10g5pzs1l4dn27n23kk2f4641dn26s3a"; + }; + + meta = { + description = "Runtime for atdgen generated bucklescript converters"; + homepage = "https://github.com/ahrefs/atd"; + maintainers = [ lib.maintainers.vbgl ]; + license = lib.licenses.mit; + }; +} diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index e1712cc35d38..167a99b3c2ba 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -46,6 +46,8 @@ let atdgen = callPackage ../development/ocaml-modules/atdgen { }; + atdgen-codec-runtime = callPackage ../development/ocaml-modules/atdgen/codec-runtime.nix { }; + awa = callPackage ../development/ocaml-modules/awa { }; awa-lwt = callPackage ../development/ocaml-modules/awa/lwt.nix { };