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