2007-10-29 11:52:04 +01:00
|
|
|
args : with args;
|
2008-08-19 07:54:09 +02:00
|
|
|
let localDefs = builderDefs.meta.function {
|
2007-10-29 11:52:04 +01:00
|
|
|
src =
|
|
|
|
fetchurl {
|
|
|
|
url = ftp://ftp.fftw.org/pub/fftw/fftw-3.1.2.tar.gz;
|
|
|
|
sha256 = "1gr63hf5vvsg50b2xwqaxwpvs1y9g8l0sb91a38wpvr7zsbjxfg1";
|
|
|
|
};
|
|
|
|
buildInputs = [];
|
|
|
|
configureFlags = ["--enable-float --enable-shared"];
|
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
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "fftw-3.1.2";
|
|
|
|
builder = writeScript "fftw-3.1.2-builder"
|
2008-01-18 13:36:56 +01:00
|
|
|
(textClosure localDefs [doConfigure doMakeInstall doForceShare]);
|
2007-10-29 11:52:04 +01:00
|
|
|
meta = {
|
|
|
|
description = "
|
|
|
|
Fastest Fourier Transform in the West library.
|
|
|
|
";
|
2008-03-02 19:49:31 +01:00
|
|
|
inherit src;
|
2007-10-29 11:52:04 +01:00
|
|
|
};
|
|
|
|
}
|