summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/ladspa/default.nix
blob: b037a61a0fb4f2a63f3c4775f6a9cea187b92e55 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ lib, buildDunePackage, fetchFromGitHub, dune-configurator, ladspaH }:

buildDunePackage rec {
  pname = "ladspa";
  version = "0.2.2";

  useDune2 = true;

  src = fetchFromGitHub {
    owner = "savonet";
    repo = "ocaml-ladspa";
    rev = "v${version}";
    sha256 = "1y83infjaz9apzyvaaqw331zqdysmn3bpidfab061v3bczv4jzbz";
  };

  buildInputs = [ dune-configurator ];
  propagatedBuildInputs = [ ladspaH ];

  meta = with lib; {
    homepage = "https://github.com/savonet/ocaml-alsa";
    description = "Bindings for the LADSPA API which provides audio effects";
    license = licenses.lgpl21Only;
    maintainers = with maintainers; [ dandellion ];
  };
}