python3Packages.pyrr: drop (#489607)

This commit is contained in:
Nick Cao
2026-02-19 01:28:12 +00:00
committed by GitHub
4 changed files with 11 additions and 38 deletions
+10 -4
View File
@@ -18,8 +18,9 @@ python3Packages.buildPythonApplication (finalAttrs: {
};
postPatch = ''
sed -i -e 's/==.*"/"/' -e '/packages=\[/a "friture.playback",' pyproject.toml
sed -i -e 's/tostring/tobytes/' friture/spectrogram_image.py
substituteInPlace pyproject.toml \
--replace-fail "numpy==2.3.2" "numpy" \
--replace-fail "Cython==3.1.3" "Cython"
'';
nativeBuildInputs =
@@ -31,6 +32,12 @@ python3Packages.buildPythonApplication (finalAttrs: {
])
++ (with qt5; [ wrapQtAppsHook ]);
# Very strict versions
pythonRelaxDeps = true;
# Not actually used, dropped from nixpkgs
pythonRemoveDeps = [ "pyrr" ];
buildInputs = with qt5; [ qtquickcontrols2 ];
propagatedBuildInputs = with python3Packages; [
@@ -43,7 +50,6 @@ python3Packages.buildPythonApplication (finalAttrs: {
numpy
pyqt5
appdirs
pyrr
rtmixer
];
@@ -52,7 +58,7 @@ python3Packages.buildPythonApplication (finalAttrs: {
'';
postInstall = ''
substituteInPlace $out/share/applications/friture.desktop --replace usr/bin/friture friture
substituteInPlace $out/share/applications/friture.desktop --replace-fail usr/bin/friture friture
for size in 16 32 128 256 512
do
@@ -1,32 +0,0 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
multipledispatch,
numpy,
}:
buildPythonPackage {
pname = "pyrr";
version = "unstable-2022-07-22";
format = "setuptools";
src = fetchFromGitHub {
owner = "adamlwgriffiths";
repo = "Pyrr";
rev = "f6c8698c48a75f3fb7ad0d47d0ce80a04f87ba2f";
hash = "sha256-u9O52MQskZRzw0rBH6uPdXdikWLJe7wyBZGNKIFA4BA=";
};
propagatedBuildInputs = [
multipledispatch
numpy
];
meta = {
description = "3D mathematical functions using NumPy";
homepage = "https://github.com/adamlwgriffiths/Pyrr/";
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ c0deaddict ];
};
}
+1
View File
@@ -404,6 +404,7 @@ mapAliases {
pyRFC3339 = throw "'pyRFC3339' has been renamed to/replaced by 'pyrfc3339'"; # Converted to throw 2025-10-29
Pyro4 = throw "'Pyro4' has been renamed to/replaced by 'pyro4'"; # Converted to throw 2025-10-29
Pyro5 = throw "'Pyro5' has been renamed to/replaced by 'pyro5'"; # Converted to throw 2025-10-29
pyrr = throw "pyrr has been removed because it is incompatible with NumPy 2.0+"; # Added 2026-02-18
PyRSS2Gen = throw "'PyRSS2Gen' has been renamed to/replaced by 'pyrss2gen'"; # Converted to throw 2025-10-29
pyside6-fluent-widgets = throw "pyside6-fluent-widgets has been removed, since it is unmaintained"; # added 2025-08-20
pysidesix-frameless-window = throw "pysidesix-frameless-window has been removed, since it is unmaintained"; # added 2025-08-20
-2
View File
@@ -14612,8 +14612,6 @@ self: super: with self; {
pyroute2 = callPackage ../development/python-modules/pyroute2 { };
pyrr = callPackage ../development/python-modules/pyrr { };
pyrsistent = callPackage ../development/python-modules/pyrsistent { };
pyrss2gen = callPackage ../development/python-modules/pyrss2gen { };