1{
2 lib,
3 buildDunePackage,
4 fetchFromGitHub,
5 dune-configurator,
6 ladspaH,
7}:
8
9buildDunePackage rec {
10 pname = "ladspa";
11 version = "0.2.2";
12
13 useDune2 = true;
14
15 src = fetchFromGitHub {
16 owner = "savonet";
17 repo = "ocaml-ladspa";
18 rev = "v${version}";
19 sha256 = "1y83infjaz9apzyvaaqw331zqdysmn3bpidfab061v3bczv4jzbz";
20 };
21
22 buildInputs = [ dune-configurator ];
23 propagatedBuildInputs = [ ladspaH ];
24
25 meta = with lib; {
26 homepage = "https://github.com/savonet/ocaml-alsa";
27 description = "Bindings for the LADSPA API which provides audio effects";
28 license = licenses.lgpl21Only;
29 maintainers = with maintainers; [ dandellion ];
30 };
31}