mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-31 12:44:44 +00:00
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.
30 lines
675 B
Nix
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 ];
|
|
};
|
|
})
|