From 5e76c6961d1b992046781c21c7d7dfd5df60d013 Mon Sep 17 00:00:00 2001 From: Daniel Olsen Date: Fri, 8 Oct 2021 01:47:01 +0200 Subject: [PATCH] ocamlPackages.ao: init at 0.2.4 --- pkgs/development/ocaml-modules/ao/default.nix | 23 +++++++++++++++++++ pkgs/top-level/ocaml-packages.nix | 2 ++ 2 files changed, 25 insertions(+) create mode 100644 pkgs/development/ocaml-modules/ao/default.nix diff --git a/pkgs/development/ocaml-modules/ao/default.nix b/pkgs/development/ocaml-modules/ao/default.nix new file mode 100644 index 00000000000..6abc7f98f63 --- /dev/null +++ b/pkgs/development/ocaml-modules/ao/default.nix @@ -0,0 +1,23 @@ +{ lib, buildDunePackage, fetchFromGitHub, dune-configurator, libao }: + +buildDunePackage rec { + pname = "ao"; + version = "0.2.4"; + + src = fetchFromGitHub { + owner = "savonet"; + repo = "ocaml-ao"; + rev = "v${version}"; + sha256 = "sha256-HhJdb4i9B4gz3emgDCDT4riQuAsY4uP/47biu7EZ+sk="; + }; + + buildInputs = [ dune-configurator ]; + propagatedBuildInputs = [ libao ]; + + meta = with lib; { + homepage = "https://github.com/savonet/ocaml-ao"; + description = "OCaml bindings for libao"; + license = licenses.lgpl21Plus; + maintainers = with maintainers; [ dandellion ]; + }; +} diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index 75bd76afffb..88fe98c4fef 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -36,6 +36,8 @@ let ansiterminal = callPackage ../development/ocaml-modules/ansiterminal { }; + ao = callPackage ../development/ocaml-modules/ao { }; + apron = callPackage ../development/ocaml-modules/apron { }; arp = callPackage ../development/ocaml-modules/arp { };