python pyfftw: init at 0.9.2
This commit is contained in:
parent
fc8e28513d
commit
0ca454570b
@ -14226,6 +14226,38 @@ in modules // {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
pyfftw = buildPythonPackage rec {
|
||||||
|
name = "pyfftw-${version}";
|
||||||
|
version = "0.9.2";
|
||||||
|
|
||||||
|
src = pkgs.fetchurl {
|
||||||
|
url = "https://pypi.python.org/packages/source/p/pyFFTW/pyFFTW-${version}.tar.gz";
|
||||||
|
sha256 = "f6bbb6afa93085409ab24885a1a3cdb8909f095a142f4d49e346f2bd1b789074";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ pkgs.fftw pkgs.fftwFloat pkgs.fftwLongDouble];
|
||||||
|
|
||||||
|
propagatedBuildInputs = with self; [ numpy scipy ];
|
||||||
|
|
||||||
|
# Tests cannot import pyfftw. pyfftw works fine though.
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
preConfigure = ''
|
||||||
|
export LDFLAGS="-L${pkgs.fftw}/lib -L${pkgs.fftwFloat}/lib -L${pkgs.fftwLongDouble}/lib"
|
||||||
|
export CFLAGS="-I${pkgs.fftw}/include -I${pkgs.fftwFloat}/include -I${pkgs.fftwLongDouble}/include"
|
||||||
|
'';
|
||||||
|
#+ optionalString isDarwin ''
|
||||||
|
# export DYLD_LIBRARY_PATH="${pkgs.fftw}/lib"
|
||||||
|
#'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "A pythonic wrapper around FFTW, the FFT library, presenting a unified interface for all the supported transforms";
|
||||||
|
homepage = http://hgomersall.github.com/pyFFTW/;
|
||||||
|
license = with licenses; [ bsd2 bsd3 ];
|
||||||
|
maintainer = with maintainers; [ fridh ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
pyfiglet = buildPythonPackage rec {
|
pyfiglet = buildPythonPackage rec {
|
||||||
name = "pyfiglet-${version}";
|
name = "pyfiglet-${version}";
|
||||||
version = "0.7.2";
|
version = "0.7.2";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user