about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/ao/default.nix
blob: 6abc7f98f639745d4d796cb1b54af67e55404958 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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 ];
  };
}