2007-10-29 11:52:04 +01:00
|
|
|
args : with args;
|
2008-01-23 19:11:03 +01:00
|
|
|
let localDefs = builderDefs {
|
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"];
|
|
|
|
} null;
|
2008-01-23 19:11:03 +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-23 19:11:03 +01:00
|
|
|
(textClosure localDefs [doConfigure doMakeInstall doForceShare]);
|
2007-10-29 11:52:04 +01:00
|
|
|
meta = {
|
|
|
|
description = "
|
|
|
|
Fastest Fourier Transform in the West library.
|
|
|
|
";
|
|
|
|
};
|
|
|
|
}
|