2007-10-29 11:52:04 +01:00
|
|
|
args: with args;
|
2008-11-04 22:24:10 +01:00
|
|
|
let localDefs = builderDefs.passthru.function {
|
2007-10-29 11:52:04 +01:00
|
|
|
src =
|
|
|
|
fetchurl {
|
|
|
|
url = http://plugin.org.uk/releases/0.4.15/swh-plugins-0.4.15.tar.gz;
|
|
|
|
sha256 = "0h462s4mmqg4iw7zdsihnrmz2vjg0fd49qxw2a284bnryjjfhpnh";
|
|
|
|
};
|
|
|
|
buildInputs = [fftw ladspaH pkgconfig];
|
|
|
|
configureFlags = [];
|
2008-08-19 07:54:09 +02:00
|
|
|
};
|
2008-01-18 13:36:56 +01:00
|
|
|
in with localDefs;
|
2007-10-29 11:52:04 +01:00
|
|
|
let
|
2009-05-20 01:25:58 +02:00
|
|
|
postInstall = fullDepEntry ("
|
2007-10-29 11:52:04 +01:00
|
|
|
ensureDir \$out/share/ladspa/
|
|
|
|
ln -s \$out/lib/ladspa \$out/share/ladspa/lib
|
|
|
|
") [minInit defEnsureDir];
|
|
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "swh-plugins-0.4.15";
|
|
|
|
builder = writeScript "swh-plugins-0.4.15-builder"
|
2008-01-18 13:36:56 +01:00
|
|
|
(textClosure localDefs [doConfigure doMakeInstall
|
2007-11-12 17:42:13 +01:00
|
|
|
postInstall doForceShare]);
|
2007-10-29 11:52:04 +01:00
|
|
|
meta = {
|
2009-03-03 14:27:40 +01:00
|
|
|
description = "LADSPA format audio plugins";
|
2008-03-02 19:49:31 +01:00
|
|
|
inherit src;
|
2007-10-29 11:52:04 +01:00
|
|
|
};
|
|
|
|
}
|