ocamlPackages.pulseaudio: init at 0.1.5

This commit is contained in:
Daniel Olsen 2021-10-30 20:17:51 +02:00 committed by Vincent Laporte
parent 754433d82a
commit 7ed016627f
2 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,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 ];
};
}

View file

@ -1135,6 +1135,10 @@ let
ptime = callPackage ../development/ocaml-modules/ptime { };
pulseaudio = callPackage ../development/ocaml-modules/pulseaudio {
inherit (pkgs) pulseaudio;
};
pure-splitmix = callPackage ../development/ocaml-modules/pure-splitmix { };
resource-pooling = callPackage ../development/ocaml-modules/resource-pooling { };