lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

pythonPackages.pyfftw : move to separate expression

+36 -18
+35
pkgs/development/python-modules/pyfftw/default.nix
··· 1 + { stdenv, buildPythonPackage, fetchPypi 2 + , fftw, fftwFloat, fftwLongDouble, numpy, scipy }: 3 + 4 + buildPythonPackage rec { 5 + version = "0.10.4"; 6 + pname = "pyFFTW"; 7 + name = "${pname}-${version}"; 8 + 9 + src = fetchPypi { 10 + inherit pname version; 11 + sha256 = "739b436b7c0aeddf99a48749380260364d2dc027cf1d5f63dafb5f50068ede1a"; 12 + }; 13 + 14 + buildInputs = [ fftw fftwFloat fftwLongDouble]; 15 + 16 + propagatedBuildInputs = [ numpy scipy ]; 17 + 18 + # Tests cannot import pyfftw. pyfftw works fine though. 19 + doCheck = false; 20 + 21 + preConfigure = '' 22 + export LDFLAGS="-L${fftw.out}/lib -L${fftwFloat.out}/lib -L${fftwLongDouble.out}/lib" 23 + export CFLAGS="-I${fftw.dev}/include -I${fftwFloat.dev}/include -I${fftwLongDouble.dev}/include" 24 + ''; 25 + #+ optionalString isDarwin '' 26 + # export DYLD_LIBRARY_PATH="${pkgs.fftw.out}/lib" 27 + #''; 28 + 29 + meta = with stdenv.lib; { 30 + description = "A pythonic wrapper around FFTW, the FFT library, presenting a unified interface for all the supported transforms"; 31 + homepage = http://hgomersall.github.com/pyFFTW/; 32 + license = with licenses; [ bsd2 bsd3 ]; 33 + maintainers = with maintainers; [ fridh ]; 34 + }; 35 + }
+1 -18
pkgs/top-level/python-packages.nix
··· 17778 17778 17779 17779 pyfeed = callPackage ../development/python-modules/pyfeed { }; 17780 17780 17781 - meta = { 17782 - description = "A pythonic wrapper around FFTW, the FFT library, presenting a unified interface for all the supported transforms"; 17783 - homepage = http://hgomersall.github.com/pyFFTW/; 17784 - license = with licenses; [ bsd2 bsd3 ]; 17785 - maintainers = with maintainers; [ fridh ]; 17786 - }; 17787 - }; 17788 - 17789 - pyfiglet = buildPythonPackage rec { 17790 - name = "pyfiglet-${version}"; 17791 - version = "0.7.5"; 17792 - 17793 - src = pkgs.fetchurl { 17794 - url = "mirror://pypi/p/pyfiglet/${name}.tar.gz"; 17795 - sha256 = "04jy4182hn5xfs6jf432gxclfj1rhssd7bsf0b4gymrjzkhr8qa4"; 17796 - }; 17797 - 17798 - doCheck = false; 17781 + pyfftw = callPackage ../development/python-modules/pyfftw { }; 17799 17782 17800 17783 meta = { 17801 17784 description = "FIGlet in pure Python";