Files
nixpkgs/pkgs/by-name/la/ladspa-header/package.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

28 lines
568 B
Nix

{
lib,
stdenv,
ladspa-sdk,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "ladspa-header";
inherit (ladspa-sdk) version src;
dontBuild = true;
installPhase = ''
mkdir -p $out/include
cp src/ladspa.h $out/include/ladspa.h
'';
meta = {
inherit (ladspa-sdk.meta) homepage license maintainers;
description = "LADSPA format audio plugins header file";
longDescription = ''
The ladspa.h API header file from the LADSPA SDK.
For the full SDK, use the ladspa-sdk package.
'';
platforms = lib.platforms.all;
};
})