Merge pull request #314024 from Moraxyc/scikits-samplerate

python3Packages.scikits-samplerate: remove
This commit is contained in:
Aleksana 2024-05-24 14:44:57 +08:00 committed by GitHub
commit ebb74934f9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 1 additions and 44 deletions

View File

@ -1,40 +0,0 @@
{
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;
};
}

View File

@ -486,6 +486,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

View File

@ -13631,10 +13631,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 { };