3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/audio/ladspa-plugins/default.nix

41 lines
849 B
Nix
Raw Normal View History

{ lib
, stdenv
, fetchFromGitHub
, autoreconfHook
, automake
, fftw
, ladspaH
, libxml2
, pkg-config
, perlPackages
}:
2016-11-01 15:26:36 +00:00
stdenv.mkDerivation rec {
pname = "swh-plugins";
2016-11-01 15:26:36 +00:00
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 ];
2016-11-01 15:26:36 +00:00
patchPhase = ''
patchShebangs .
patchShebangs ./metadata/
cp ${automake}/share/automake-*/mkinstalldirs .
'';
meta = with lib; {
homepage = "http://plugin.org.uk/";
description = "LADSPA format audio plugins";
2016-11-01 15:26:36 +00:00
license = licenses.gpl2;
maintainers = [ maintainers.magnetophon ];
platforms = platforms.linux;
};
}