about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/portaudio/default.nix
blob: 9a6b450b5c4ed4e27e773098b5ee3de4110965a8 (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
{ 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 ];
  };
}