1{ lib, buildDunePackage, fetchFromGitHub, dune-configurator, pkg-config, pulseaudio }:
2
3buildDunePackage rec {
4 pname = "pulseaudio";
5 version = "0.1.5";
6
7 src = fetchFromGitHub {
8 owner = "savonet";
9 repo = "ocaml-pulseaudio";
10 rev = "v${version}";
11 sha256 = "sha256-eG2HS5g3ycDftRDyXGBwPJE7VRnLXNUgcEgNfVm//ds=";
12 };
13
14 nativeBuildInputs = [ pkg-config ];
15 buildInputs = [ dune-configurator ];
16 propagatedBuildInputs = [ pulseaudio ];
17
18 meta = with lib; {
19 homepage = "https://github.com/savonet/ocaml-pulseaudio";
20 description = "Bindings to Pulseaudio client library";
21 license = licenses.lgpl21Only;
22 maintainers = with maintainers; [ dandellion ];
23 };
24}