Added a new setup proposal, builder is no more derived from shell script (where edit=glibc rebuild), but is composed from a nix attribute set with strings and dependencies - so if you add a function, old expressions ignore it; collateral damage are packages in this style: Fastest Fourier Transform in the West, Audacity sound editor, Falling Sand game. Also added string equality that ignores dependencies to lib. Note that hasSuffixHack is now the more predictable version, but hasSuffix is left to remind us to fix the bug.

svn path=/nixpkgs/trunk/; revision=9549
This commit is contained in:
Michael Raskin
2007-10-29 10:52:04 +00:00
parent ae7d316684
commit d352d54b11
10 changed files with 356 additions and 17 deletions

View File

@@ -0,0 +1,21 @@
args : with args;
with builderDefs {
src =
fetchurl {
url = ftp://ftp.fftw.org/pub/fftw/fftw-3.1.2.tar.gz;
sha256 = "1gr63hf5vvsg50b2xwqaxwpvs1y9g8l0sb91a38wpvr7zsbjxfg1";
};
buildInputs = [];
configureFlags = ["--enable-float --enable-shared"];
} null;
with stringsWithDeps;
stdenv.mkDerivation {
name = "fftw-3.1.2";
builder = writeScript "fftw-3.1.2-builder"
(textClosure [doConfigure doMakeInstall doForceShare]);
meta = {
description = "
Fastest Fourier Transform in the West library.
";
};
}