2007-10-29 10:52:04 +00:00
|
|
|
args: with args;
|
|
|
|
let
|
|
|
|
src =
|
|
|
|
fetchurl {
|
|
|
|
url = http://www.ladspa.org/ladspa_sdk/ladspa.h.txt;
|
|
|
|
sha256 = "1b908csn85ng9sz5s5d1mqk711cmawain2z8px2ajngihdrynb67";
|
|
|
|
};
|
|
|
|
in
|
2008-11-04 21:24:10 +00:00
|
|
|
let localDefs = builderDefs.passthru.function {
|
2007-10-29 10:52:04 +00:00
|
|
|
buildInputs = [];
|
|
|
|
inherit src;
|
2008-08-19 06:54:09 +01:00
|
|
|
};
|
2008-01-18 12:36:56 +00:00
|
|
|
in with localDefs;
|
2007-10-29 10:52:04 +00:00
|
|
|
let
|
|
|
|
copyFile = FullDepEntry ("
|
|
|
|
ensureDir \$out/include
|
|
|
|
cp ${src} \$out/include/ladspa.h
|
|
|
|
") [minInit defEnsureDir];
|
|
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "ladspa.h";
|
|
|
|
builder = writeScript "ladspa.h-builder"
|
2008-01-18 12:36:56 +00:00
|
|
|
(textClosure localDefs [copyFile]);
|
2007-10-29 10:52:04 +00:00
|
|
|
meta = {
|
|
|
|
description = "
|
|
|
|
LADSPA format audio plugins.
|
|
|
|
";
|
2008-03-02 18:49:31 +00:00
|
|
|
inherit src;
|
2007-10-29 10:52:04 +00:00
|
|
|
};
|
|
|
|
}
|