Unverified Commit 40f6a8e7 authored by OTABI Tomoya's avatar OTABI Tomoya Committed by GitHub
Browse files

python312Packages.acoustics: drop (#346569)

parents 4fdfbbea 66424cca
Loading
Loading
Loading
Loading
+0 −56
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  flit-core,
  matplotlib,
  numpy,
  pandas,
  pytestCheckHook,
  pythonOlder,
  scipy,
  tabulate,
}:

buildPythonPackage rec {
  pname = "acoustics";
  version = "0.2.6-unstable-2023-08-20";
  pyproject = true;

  disabled = pythonOlder "3.6";

  src = fetchFromGitHub {
    owner = "python-acoustics";
    repo = "python-acoustics";
    rev = "99d79206159b822ea2f4e9d27c8b2fbfeb704d38";
    hash = "sha256-/4bVjlhj8ihpAFHEWPaZ/xBILi3rb8f0NmwAexJCg+o=";
  };

  nativeBuildInputs = [ flit-core ];

  propagatedBuildInputs = [
    matplotlib
    numpy
    pandas
    scipy
    tabulate
  ];

  nativeCheckInputs = [ pytestCheckHook ];

  preCheck = ''
    export HOME=$TMPDIR
    mkdir -p $HOME/.matplotlib
    echo "backend: ps" > $HOME/.matplotlib/matplotlibrc
  '';

  pytestFlagsArray = [ "-Wignore::DeprecationWarning" ];

  pythonImportsCheck = [ "acoustics" ];

  meta = with lib; {
    description = "Python package for acousticians";
    license = with licenses; [ bsd3 ];
    homepage = "https://github.com/python-acoustics/python-acoustics";
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -36,6 +36,7 @@ mapAliases ({
  aadict = throw "aadict was removed, it was introduced as a dependency for a package that never manifested and has been an unused leaf package ever since"; # added 2024-07-08
  abodepy = jaraco-abode; # added 2023-02-01
  acebinf = throw "acebinf has been removed because it is abandoned and broken."; # Added 2023-05-19
  acoustics = throw "acoustics has been removed because the upstream repository was archived in 2024"; # Added 2024-10-04
  adafruit-nrfutil = throw "adafruit-nrfutil has been promoted to a top-level attribute name: `pkgs.adafruit-nrfutil`."; # Added 2023-11-19
  aioaladdinconnect = throw "aioaladdinconnect has been removed, as the API is supported was obsoleted on 2024-01-24."; # Added 2024-06-07
  aiohttp-isal = throw "aiohttp-isal has been removed, as it has been archived and replace by aiohttp-fast-zlib"; # Added 2024-08-11
+0 −2
Original line number Diff line number Diff line
@@ -47,8 +47,6 @@ self: super: with self; {
  acme-tiny = callPackage ../development/python-modules/acme-tiny { };
  acoustics = callPackage ../development/python-modules/acoustics { };
  acquire = callPackage ../development/python-modules/acquire { };
  actdiag = callPackage ../development/python-modules/actdiag { };