depot/pkgs/applications/audio/ladspa-plugins/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

40 lines
852 B
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=";
};
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.gpl2Only;
maintainers = [ maintainers.magnetophon ];
platforms = platforms.unix;
};
}