2007-10-29 11:52:04 +01:00
|
|
|
args: with args;
|
|
|
|
let
|
|
|
|
src =
|
|
|
|
fetchurl {
|
|
|
|
url = http://www.ladspa.org/ladspa_sdk/ladspa.h.txt;
|
|
|
|
sha256 = "1b908csn85ng9sz5s5d1mqk711cmawain2z8px2ajngihdrynb67";
|
|
|
|
};
|
|
|
|
in
|
2008-08-19 07:54:09 +02:00
|
|
|
let localDefs = builderDefs.meta.function {
|
2007-10-29 11:52:04 +01:00
|
|
|
buildInputs = [];
|
|
|
|
inherit src;
|
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
|
|
|
|
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 13:36:56 +01:00
|
|
|
(textClosure localDefs [copyFile]);
|
2007-10-29 11:52:04 +01:00
|
|
|
meta = {
|
|
|
|
description = "
|
|
|
|
LADSPA format audio plugins.
|
|
|
|
";
|
2008-03-02 19:49:31 +01:00
|
|
|
inherit src;
|
2007-10-29 11:52:04 +01:00
|
|
|
};
|
|
|
|
}
|