about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/ocaml-modules/pulseaudio/default.nix
blob: 75f5e0f414fb020045799143125d5acc9677ade5 (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
24
{ lib, buildDunePackage, fetchFromGitHub, dune-configurator, pkg-config, pulseaudio }:

buildDunePackage rec {
  pname = "pulseaudio";
  version = "0.1.5";

  src = fetchFromGitHub {
    owner = "savonet";
    repo = "ocaml-pulseaudio";
    rev = "v${version}";
    sha256 = "sha256-eG2HS5g3ycDftRDyXGBwPJE7VRnLXNUgcEgNfVm//ds=";
  };

  nativeBuildInputs = [ pkg-config ];
  buildInputs = [ dune-configurator ];
  propagatedBuildInputs = [ pulseaudio ];

  meta = with lib; {
    homepage = "https://github.com/savonet/ocaml-pulseaudio";
    description = "Bindings to Pulseaudio client library";
    license = licenses.lgpl21Only;
    maintainers = with maintainers; [ dandellion ];
  };
}