2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, autoreconfHook, automake, fftw, ladspaH, libxml2, pkg-config
|
2020-04-24 23:36:52 +00:00
|
|
|
, perlPackages }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "swh-plugins";
|
|
|
|
version = "0.4.17";
|
|
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/swh/ladspa/archive/v${version}.tar.gz";
|
|
|
|
sha256 = "1rqwh8xrw6hnp69dg4gy336bfbfpmbx4fjrk0nb8ypjcxkz91c6i";
|
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ fftw ladspaH libxml2 perlPackages.perl perlPackages.XMLParser ];
|
|
|
|
|
|
|
|
patchPhase = ''
|
|
|
|
patchShebangs .
|
|
|
|
patchShebangs ./metadata/
|
|
|
|
cp ${automake}/share/automake-*/mkinstalldirs .
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "http://plugin.org.uk/";
|
|
|
|
description = "LADSPA format audio plugins";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.magnetophon ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|