ocamlPackages.pulseaudio: init at 0.1.5
This commit is contained in:
parent
754433d82a
commit
7ed016627f
2 changed files with 28 additions and 0 deletions
24
pkgs/development/ocaml-modules/pulseaudio/default.nix
Normal file
24
pkgs/development/ocaml-modules/pulseaudio/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue