fcad0b0a5a
Some of these should be longDescriptions, but most others just shouldn't contain newlines. E.g. write description = "Bla"; and not description = '' Bla ''; This pollutes "nix-env -qa --description" output. svn path=/nixpkgs/trunk/; revision=14310
27 lines
735 B
Nix
27 lines
735 B
Nix
args: with args;
|
|
let localDefs = builderDefs.passthru.function {
|
|
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 = [];
|
|
};
|
|
in with localDefs;
|
|
let
|
|
postInstall = FullDepEntry ("
|
|
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"
|
|
(textClosure localDefs [doConfigure doMakeInstall
|
|
postInstall doForceShare]);
|
|
meta = {
|
|
description = "LADSPA format audio plugins";
|
|
inherit src;
|
|
};
|
|
}
|