depot/third_party/nixpkgs/pkgs/development/ocaml-modules/portaudio/default.nix
Default email 3a4df29a92 Project import generated by Copybara.
GitOrigin-RevId: 3d7435c638baffaa826b85459df0fff47f12317d
2022-06-16 19:23:12 +02:00

23 lines
691 B
Nix

{ lib, buildDunePackage, fetchFromGitHub, dune-configurator, portaudio }:
buildDunePackage rec {
pname = "portaudio";
version = "0.2.3";
src = fetchFromGitHub {
owner = "savonet";
repo = "ocaml-portaudio";
rev = "v${version}";
sha256 = "sha256-rMSE+ta7ughjjCnz4oho1D3VGaAsUlLtxizvxZT0/cQ=";
};
buildInputs = [ dune-configurator ];
propagatedBuildInputs = [ portaudio ];
meta = with lib; {
homepage = "https://github.com/savonet/ocaml-portaudio";
description = "Bindings for the portaudio library which provides high-level functions for using soundcards";
license = licenses.lgpl21Only;
maintainers = with maintainers; [ dandellion ];
};
}