mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-04 14:00:04 +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.
28 lines
568 B
Nix
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;
|
|
};
|
|
})
|