Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pyFFTW = buildPythonPackage rec {
- name = "pyFFTW-${version}";
- version = "0.9.2";
- src = pkgs.fetchurl {
- url = "https://pypi.python.org/packages/source/p/pyFFTW/${name}.tar.gz";
- sha256 = "f6bbb6afa93085409ab24885a1a3cdb8909f095a142f4d49e346f2bd1b789074";
- };
- buildInputs = [ pkgs.fftw ];
- propagatedBuildInputs = with self; [ numpy scipy ];
- preConfigure = ''
- export LDFLAGS="-L${pkgs.fftw}/include"
- export CFLAGS="-I${pkgs.fftw}/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 ];
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement