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