Files
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

71 lines
1.3 KiB
Nix

{
lib,
stdenv,
fetchFromGitHub,
cmake,
pkg-config,
alsa-lib,
fontconfig,
freetype,
libx11,
libxcomposite,
libxcursor,
libxdmcp,
libxext,
libxinerama,
libxrandr,
libxtst,
ladspa-header,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "pluginval";
version = "1.0.4";
src = fetchFromGitHub {
owner = "Tracktion";
repo = "pluginval";
tag = "v${finalAttrs.version}";
hash = "sha256-j4Lb3pcw0931o63OvTTaIm2UzvYDIjmnaCXGvKB4gwM=";
fetchSubmodules = true;
};
nativeBuildInputs = [
cmake
pkg-config
];
buildInputs = [
alsa-lib
fontconfig
freetype
libx11
libxcomposite
libxcursor
libxdmcp
libxext
libxinerama
libxrandr
libxtst
ladspa-header
];
cmakeFlags = [
(lib.cmakeFeature "CMAKE_BUILD_TYPE" "Debug")
];
installPhase = ''
runHook preInstall
install -Dm755 pluginval_artefacts/Debug/pluginval $out/bin/pluginval
runHook postInstall
'';
meta = {
description = "Cross-platform plugin validator and tester for AU/VST2/VST3 plugins";
homepage = "https://github.com/Tracktion/pluginval";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ magnetophon ];
platforms = lib.platforms.linux;
mainProgram = "pluginval";
};
})