diff --git a/pkgs/development/ocaml-modules/dssi/default.nix b/pkgs/development/ocaml-modules/dssi/default.nix new file mode 100644 index 000000000000..b8235cef9690 --- /dev/null +++ b/pkgs/development/ocaml-modules/dssi/default.nix @@ -0,0 +1,25 @@ +{ lib, buildDunePackage, fetchFromGitHub, dune-configurator, ladspa, alsa-lib }: + +buildDunePackage rec { + pname = "dssi"; + version = "0.1.5"; + + useDune2 = true; + + src = fetchFromGitHub { + owner = "savonet"; + repo = "ocaml-dssi"; + rev = "v${version}"; + sha256 = "1frbmx1aznwp60r6bkx1whqyr6mkflvd9ysmjg7s7b80mh0s4ix6"; + }; + + buildInputs = [ dune-configurator ]; + propagatedBuildInputs = [ ladspa alsa-lib ]; + + meta = with lib; { + homepage = "https://github.com/savonet/ocaml-dssi"; + description = "Bindings for the DSSI API which provides audio synthesizers"; + license = licenses.gpl2Only; + maintainers = with maintainers; [ dandellion ]; + }; +} diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index cc80886fca9e..a56b366dca1b 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -295,6 +295,8 @@ let dose3 = callPackage ../development/ocaml-modules/dose3 { }; + dssi = callPackage ../development/ocaml-modules/dssi { }; + dtoa = callPackage ../development/ocaml-modules/dtoa { }; duff = callPackage ../development/ocaml-modules/duff { };