From 7a9c0dbe87b8c3e10d1e2452d2c75527b9d5762b Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Mon, 9 Oct 2023 08:40:39 +0200 Subject: [PATCH] ocamlPackages.asai: init at 0.1.1 --- .../ocaml-modules/asai/default.nix | 35 +++++++++++++++++++ pkgs/top-level/ocaml-packages.nix | 2 ++ 2 files changed, 37 insertions(+) create mode 100644 pkgs/development/ocaml-modules/asai/default.nix diff --git a/pkgs/development/ocaml-modules/asai/default.nix b/pkgs/development/ocaml-modules/asai/default.nix new file mode 100644 index 000000000000..b089eba76874 --- /dev/null +++ b/pkgs/development/ocaml-modules/asai/default.nix @@ -0,0 +1,35 @@ +{ lib, fetchFromGitHub, buildDunePackage +, algaeff +, bwd +, eio +, eio_main +, lsp +, notty +}: + +buildDunePackage rec { + pname = "asai"; + version = "0.1.1"; + src = fetchFromGitHub { + owner = "RedPRL"; + repo = pname; + rev = version; + hash = "sha256-Jd90WhSjK4K2amFA5uyGF57NzsgHA8QiccX6qtxO1rQ="; + }; + + propagatedBuildInputs = [ + algaeff + bwd + lsp + eio + eio_main + notty + ]; + + meta = { + description = "A library for constructing and printing compiler diagnostics"; + homepage = "https://redprl.org/asai/asai/"; + license = lib.licenses.asl20; + maintainers = [ lib.maintainers.vbgl ]; + }; +} diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index ae48af74bc0b..872e67262a57 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -40,6 +40,8 @@ let arp = callPackage ../development/ocaml-modules/arp { }; + asai = callPackage ../development/ocaml-modules/asai { }; + asetmap = callPackage ../development/ocaml-modules/asetmap { }; asn1-combinators = callPackage ../development/ocaml-modules/asn1-combinators { };