diff options
Diffstat (limited to 'pkgs/applications/audio/ladspa-plugins')
-rw-r--r-- | pkgs/applications/audio/ladspa-plugins/default.nix | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/pkgs/applications/audio/ladspa-plugins/default.nix b/pkgs/applications/audio/ladspa-plugins/default.nix new file mode 100644 index 00000000000..491a18bba3e --- /dev/null +++ b/pkgs/applications/audio/ladspa-plugins/default.nix @@ -0,0 +1,40 @@ +{ 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="; + }; + + nativeBuildInputs = [ autoreconfHook pkg-config ]; + buildInputs = [ fftw ladspaH libxml2 perlPackages.perl perlPackages.XMLParser ]; + + patchPhase = '' + patchShebangs . + patchShebangs ./metadata/ + cp ${automake}/share/automake-*/mkinstalldirs . + ''; + + meta = with lib; { + homepage = "http://plugin.org.uk/"; + description = "LADSPA format audio plugins"; + license = licenses.gpl2; + maintainers = [ maintainers.magnetophon ]; + platforms = platforms.linux; + }; +} |