Files
nixpkgs/pkgs/development/ocaml-modules/ladspa/default.nix
quantenzitrone 25b7473d18 ladspa-header: refactor and rename from ladspaH
There isn't really an upstream package name since this header file is
normally just part of ladspa-sdk.
ladspa-header seems like a more fitting name for this package.
Could also be ladspa-sdk-header, but there are also probably other
headers than ladspa.h in ladspa-sdk.
2026-02-10 16:52:01 +01:00

30 lines
675 B
Nix

{
lib,
buildDunePackage,
fetchFromGitHub,
dune-configurator,
ladspa-header,
}:
buildDunePackage (finalAttrs: {
pname = "ladspa";
version = "0.2.2";
src = fetchFromGitHub {
owner = "savonet";
repo = "ocaml-ladspa";
tag = "v${finalAttrs.version}";
hash = "sha256-f31J9mdr7GDAUq7Fu4at2jf8wxgcK7X9vyp9JZ2NA/k=";
};
buildInputs = [ dune-configurator ];
propagatedBuildInputs = [ ladspa-header ];
meta = {
homepage = "https://github.com/savonet/ocaml-alsa";
description = "Bindings for the LADSPA API which provides audio effects";
license = lib.licenses.lgpl21Only;
maintainers = [ lib.maintainers.dandellion ];
};
})