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