2021-11-02 13:01:32 +03:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, autoreconfHook
|
|
|
|
, automake
|
|
|
|
, fftw
|
|
|
|
, ladspaH
|
|
|
|
, libxml2
|
|
|
|
, pkg-config
|
|
|
|
, perlPackages
|
|
|
|
}:
|
2016-11-01 18:26:36 +03:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 15:41:18 +03:00
|
|
|
pname = "swh-plugins";
|
2016-11-01 18:26:36 +03:00
|
|
|
version = "0.4.17";
|
2010-07-28 22:01:17 +04:00
|
|
|
|
2021-11-02 13:01:32 +03:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "swh";
|
|
|
|
repo = "ladspa";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "sha256-eOtIhNcuItREUShI8JRlBVKfMfovpdfIYu+m37v4KLE=";
|
2010-07-28 22:01:17 +04:00
|
|
|
};
|
|
|
|
|
2021-01-19 09:50:56 +03:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
2021-11-02 13:01:32 +03:00
|
|
|
buildInputs = [ fftw ladspaH libxml2 perlPackages.perl perlPackages.XMLParser ];
|
2016-11-01 18:26:36 +03:00
|
|
|
|
|
|
|
patchPhase = ''
|
|
|
|
patchShebangs .
|
|
|
|
patchShebangs ./metadata/
|
|
|
|
cp ${automake}/share/automake-*/mkinstalldirs .
|
|
|
|
'';
|
2010-07-28 22:01:17 +04:00
|
|
|
|
2021-01-11 10:54:33 +03:00
|
|
|
meta = with lib; {
|
2020-04-01 04:11:51 +03:00
|
|
|
homepage = "http://plugin.org.uk/";
|
2010-07-28 22:01:17 +04:00
|
|
|
description = "LADSPA format audio plugins";
|
2016-11-01 18:26:36 +03:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.magnetophon ];
|
|
|
|
platforms = platforms.linux;
|
2010-07-28 22:01:17 +04:00
|
|
|
};
|
2007-10-29 13:52:04 +03:00
|
|
|
}
|