Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
71 lines
1.3 KiB
Nix
71 lines
1.3 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
cmake,
|
|
pkg-config,
|
|
alsa-lib,
|
|
fontconfig,
|
|
freetype,
|
|
libX11,
|
|
libXcomposite,
|
|
libXcursor,
|
|
libXdmcp,
|
|
libXext,
|
|
libXinerama,
|
|
libXrandr,
|
|
libXtst,
|
|
ladspaH,
|
|
}:
|
|
|
|
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
|
|
ladspaH
|
|
];
|
|
|
|
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";
|
|
};
|
|
})
|