Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, buildDunePackage, fetchFromGitHub, dune-configurator, portaudio }:
2
3buildDunePackage rec {
4 pname = "portaudio";
5 version = "0.2.3";
6
7 src = fetchFromGitHub {
8 owner = "savonet";
9 repo = "ocaml-portaudio";
10 rev = "v${version}";
11 sha256 = "sha256-rMSE+ta7ughjjCnz4oho1D3VGaAsUlLtxizvxZT0/cQ=";
12 };
13
14 buildInputs = [ dune-configurator ];
15 propagatedBuildInputs = [ portaudio ];
16
17 meta = with lib; {
18 homepage = "https://github.com/savonet/ocaml-portaudio";
19 description = "Bindings for the portaudio library which provides high-level functions for using soundcards";
20 license = licenses.lgpl21Only;
21 maintainers = with maintainers; [ dandellion ];
22 };
23}