1{ lib, buildDunePackage, fetchFromGitHub, dune-configurator, libao }:
2
3buildDunePackage rec {
4 pname = "ao";
5 version = "0.2.4";
6
7 src = fetchFromGitHub {
8 owner = "savonet";
9 repo = "ocaml-ao";
10 rev = "v${version}";
11 sha256 = "sha256-HhJdb4i9B4gz3emgDCDT4riQuAsY4uP/47biu7EZ+sk=";
12 };
13
14 buildInputs = [ dune-configurator ];
15 propagatedBuildInputs = [ libao ];
16
17 meta = with lib; {
18 homepage = "https://github.com/savonet/ocaml-ao";
19 description = "OCaml bindings for libao";
20 license = licenses.lgpl21Plus;
21 maintainers = with maintainers; [ dandellion ];
22 };
23}