Commit 58739f9d authored by Gaetan Lepage's avatar Gaetan Lepage
Browse files

python311Packages.pyfftw: remove

parent 7de08462
Loading
Loading
Loading
Loading
+0 −53
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchPypi,
  fftw,
  fftwFloat,
  fftwLongDouble,
  numpy,
  scipy,
  cython_0,
  dask,
}:

buildPythonPackage rec {
  version = "0.13.1";
  pname = "pyFFTW";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-CRVekKDG0MHy0fNmgYCn3pX7n4P+9RN6ES+wWXjocyA=";
  };

  preConfigure = ''
    export LDFLAGS="-L${fftw.out}/lib -L${fftwFloat.out}/lib -L${fftwLongDouble.out}/lib"
    export CFLAGS="-I${fftw.dev}/include -I${fftwFloat.dev}/include -I${fftwLongDouble.dev}/include"
  '';

  buildInputs = [
    fftw
    fftwFloat
    fftwLongDouble
  ];

  propagatedBuildInputs = [
    numpy
    scipy
    cython_0
    dask
  ];

  # Tests cannot import pyfftw. pyfftw works fine though.
  doCheck = false;
  pythonImportsCheck = [ "pyfftw" ];

  meta = with lib; {
    description = "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
    ];
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -365,6 +365,7 @@ mapAliases ({
  pychef = throw "pychef has been removed because it's been archived upstream and abandoned since 2017."; # added 2022-11-14
  PyChromecast = pychromecast; # added 2023-02-19
  pycryptodome-test-vectors = throw "pycryptodome-test-vectors has been removed because it is an internal package to pycryptodome"; # added 2022-05-28
  pyfftw = throw "pyfftw has been removed because it is unmaintained and broken."; # Added 2024-06-17
  pyflunearyou = pyoutbreaksnearme; # added 2023-02-11
  pyialarmxr = pyialarmxr-homeassistant; # added 2022-06-07
  pyialarmxr-homeassistant = throw "The package was removed together with the component support in home-assistant 2022.7.0"; # added 2022-07-07
+0 −2
Original line number Diff line number Diff line
@@ -11060,8 +11060,6 @@ self: super: with self; {
  pyfcm = callPackage ../development/python-modules/pyfcm { };
  pyfftw = callPackage ../development/python-modules/pyfftw { };
  pyfido = callPackage ../development/python-modules/pyfido { };
  pyfiglet = callPackage ../development/python-modules/pyfiglet { };