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
61 lines
1.1 KiB
Nix
61 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
autoreconfHook,
|
|
automake,
|
|
fftw,
|
|
ladspaH,
|
|
libxml2,
|
|
pkg-config,
|
|
perlPackages,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "swh-plugins";
|
|
version = "0.4.17";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "swh";
|
|
repo = "ladspa";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-eOtIhNcuItREUShI8JRlBVKfMfovpdfIYu+m37v4KLE=";
|
|
};
|
|
|
|
preBuild = ''
|
|
shopt -s globstar
|
|
for f in **/Makefile; do
|
|
substituteInPlace "$f" \
|
|
--replace-quiet 'ranlib' '${stdenv.cc.targetPrefix}ranlib'
|
|
done
|
|
shopt -u globstar
|
|
'';
|
|
|
|
nativeBuildInputs = [
|
|
autoreconfHook
|
|
perlPackages.perl
|
|
perlPackages.XMLParser
|
|
pkg-config
|
|
perlPackages.perl
|
|
perlPackages.XMLParser
|
|
];
|
|
buildInputs = [
|
|
fftw
|
|
ladspaH
|
|
libxml2
|
|
];
|
|
|
|
postPatch = ''
|
|
patchShebangs --build . ./metadata/ makestub.pl
|
|
cp ${automake}/share/automake-*/mkinstalldirs .
|
|
'';
|
|
|
|
meta = with lib; {
|
|
homepage = "http://plugin.org.uk/";
|
|
description = "LADSPA format audio plugins";
|
|
license = licenses.gpl2Only;
|
|
maintainers = [ maintainers.magnetophon ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|