python3Packages.python-openzwave: drop

Wrapper around openzwave, which is no longer maintained upstream;
see the "NOTICE: This project is no longer being maintained" note in
https://github.com/OpenZWave/open-zwave#readme.

Consider using python3Packages.zwave-js-server-python, the Python
client for zwave-js-server.
This commit is contained in:
Aliaksandr
2026-05-14 01:38:59 +03:00
parent 553f1b5cf1
commit 07373fb303
4 changed files with 2 additions and 86 deletions
@@ -1,20 +0,0 @@
diff --git a/pyozw_setup.py b/pyozw_setup.py
index b201840..37bf2a8 100644
--- a/pyozw_setup.py
+++ b/pyozw_setup.py
@@ -257,13 +257,13 @@ class Template(object):
if sys.platform.startswith("win"):
return ['Cython']
else:
- return ['Cython==0.28.6']
+ return ['Cython>=0.28.6']
def build_requires(self):
if sys.platform.startswith("win"):
return ['Cython']
else:
- return ['Cython==0.28.6']
+ return ['Cython>=0.28.6']
def build(self):
if len(self.ctx['extra_objects']) == 1 and os.path.isfile(self.ctx['extra_objects'][0]):
@@ -1,63 +0,0 @@
{
lib,
buildPythonPackage,
fetchPypi,
isPy3k,
pkg-config,
libyaml,
openzwave,
cython,
pyserial,
six,
pydispatcher,
urwid,
}:
buildPythonPackage rec {
pname = "python-openzwave";
version = "0.4.19";
format = "setuptools";
disabled = !isPy3k;
src = fetchPypi {
pname = "python_openzwave";
inherit version;
sha256 = "6b40c7711383eeb3535cf5504f1cf47cc1ac7018eb820f299642a5a2795aef84";
extension = "zip";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [
libyaml
openzwave
cython
];
propagatedBuildInputs = [
six
urwid
pydispatcher
pyserial
];
# primary location for the .xml files is in /etc/openzwave so we override the
# /usr/local/etc lookup instead as that allows us to dump new .xml files into
# /etc/openzwave if needed
postPatch = ''
substituteInPlace src-lib/libopenzwave/libopenzwave.pyx \
--replace /usr/local/etc/openzwave ${openzwave}/etc/openzwave
'';
patches = [ ./cython.patch ];
# no tests available
doCheck = false;
meta = {
description = "Python wrapper for the OpenZWave C++ library";
homepage = "https://github.com/OpenZWave/python-openzwave";
license = lib.licenses.gpl3Plus;
maintainers = [ ];
inherit (openzwave.meta) platforms;
};
}
+2 -1
View File
@@ -480,6 +480,7 @@ mapAliases {
python-Levenshtein = throw "'python-Levenshtein' has been renamed to/replaced by 'levenshtein'"; # Converted to throw 2025-10-29
python-lz4 = throw "'python-lz4' has been renamed to/replaced by 'lz4'"; # Converted to throw 2025-10-29
python-mbedtls = throw "'python-mbedtls' has been removed as it is unmaintained";
python-openzwave = throw "python-openzwave was removed because openzwave is no longer maintained upstream. Consider using python3Packages.zwave-js-server-python"; # Added 2026-05-14
python-qt = throw "python-qt has been removed, because hard to maintain and not required by anything"; # Added 2025-01-14
python-simple-hipchat = throw "'python-simple-hipchat' has been removed because it was broken and unmaintained"; # added 2025-08-26
python-subunit = throw "'python-subunit' has been renamed to/replaced by 'subunit'"; # Converted to throw 2025-10-29
@@ -489,7 +490,7 @@ mapAliases {
python_fedora = throw "'python_fedora' has been renamed to/replaced by 'python-fedora'"; # Converted to throw 2025-10-29
python_magic = throw "'python_magic' has been renamed to/replaced by 'python-magic'"; # Converted to throw 2025-10-29
python_mimeparse = throw "'python_mimeparse' has been renamed to/replaced by 'python-mimeparse'"; # Converted to throw 2025-10-29
python_openzwave = throw "'python_openzwave' has been renamed to/replaced by 'python-openzwave'"; # Converted to throw 2025-10-29
python_openzwave = throw "python-openzwave was removed because openzwave is no longer maintained upstream. Consider using python3Packages.zwave-js-server-python"; # Converted to throw 2025-10-29
python_simple_hipchat = throw "'python_simple_hipchat' has been renamed to/replaced by 'python-simple-hipchat'"; # Converted to throw 2025-10-29
pythonix = throw "pythonix was removed as it was unmaintained since 2022"; # added 2025-07-24
pytorch = throw "'pytorch' has been renamed to/replaced by 'torch'"; # Converted to throw 2025-10-29
-2
View File
@@ -16019,8 +16019,6 @@ self: super: with self; {
python-openstackclient = callPackage ../development/python-modules/python-openstackclient { };
python-openzwave = callPackage ../development/python-modules/python-openzwave { };
python-osc = callPackage ../development/python-modules/python-osc { };
python-otbr-api = callPackage ../development/python-modules/python-otbr-api { };