Commit 715b0459 authored by Moraxyc's avatar Moraxyc Committed by github-actions[bot]
Browse files

python3Packages.scikits-samplerate: remove

(cherry picked from commit cb8e62b8)
parent 6082554d
Loading
Loading
Loading
Loading
+0 −40
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  numpy,
  libsamplerate,
  fetchFromGitHub,
}:

buildPythonPackage {
  pname = "scikits-samplerate";
  version = "0.3.3";
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "cournape";
    repo = "samplerate";
    rev = "a536c97eb2d6195b5f266ea3cc3a35364c4c2210";
    hash = "sha256-7x03Q6VXfP9p8HCk15IDZ9HeqTyi5F1AlGX/otdh8VU=";
  };

  buildInputs = [ libsamplerate ];

  propagatedBuildInputs = [ numpy ];

  preConfigure = ''
    cat > site.cfg << END
    [samplerate]
    library_dirs=${libsamplerate.out}/lib
    include_dirs=${lib.getDev libsamplerate}/include
    END
  '';

  doCheck = false;

  meta = with lib; {
    homepage = "https://github.com/cournape/samplerate";
    description = "High quality sampling rate convertion from audio data in numpy arrays";
    license = licenses.gpl2;
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -485,6 +485,7 @@ mapAliases ({
  sapi-python-client = kbcstorage; # added 2022-04-20
  scikitimage = scikit-image; # added 2023-05-14
  scikitlearn = scikit-learn; # added 2021-07-21
  scikits-samplerate = throw "scikits-samplerate has been removed, it was unsed and unmaintained since 2015"; # added 2024-05-23
  selectors34 = throw "selectors34 has been removed: functionality provided by Python itself; archived by upstream."; # added 2021-06-10
  sequoia = throw "python3Packages.sequoia was replaced by pysequoia - built from a dedicated repository, with a new API."; # added 2023-06-24
  setuptools_dso = setuptools-dso; # added 2024-03-03
+0 −4
Original line number Diff line number Diff line
@@ -13619,10 +13619,6 @@ self: super: with self; {
  scikits-odes = callPackage ../development/python-modules/scikits-odes { };
  scikits-samplerate = callPackage ../development/python-modules/scikits-samplerate {
    inherit (pkgs) libsamplerate;
  };
  scikit-tda = callPackage ../development/python-modules/scikit-tda { };
  scipy = callPackage ../development/python-modules/scipy { };