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