openzwave, python3Packages.python-openzwave: drop (#519942)
This commit is contained in:
@@ -1,68 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
doxygen,
|
||||
fontconfig,
|
||||
graphviz-nox,
|
||||
libxml2,
|
||||
pkg-config,
|
||||
which,
|
||||
systemd,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "openzwave";
|
||||
version = "1.6-unstable-2022-11-17";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "OpenZWave";
|
||||
repo = "open-zwave";
|
||||
rev = "3fff11d246a0d558d26110e1db6bd634a1b347c0";
|
||||
hash = "sha256-CLK2MeoTmZ8GMKb1OAZFNLyc4C+k+REK2w+WQxZv0/E=";
|
||||
};
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
"doc"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
doxygen
|
||||
fontconfig
|
||||
graphviz-nox
|
||||
libxml2
|
||||
pkg-config
|
||||
which
|
||||
];
|
||||
|
||||
buildInputs = [ systemd ];
|
||||
|
||||
hardeningDisable = [ "format" ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
makeFlags = [
|
||||
"PREFIX=${placeholder "out"}"
|
||||
];
|
||||
|
||||
env = {
|
||||
FONTCONFIG_FILE = "${fontconfig.out}/etc/fonts/fonts.conf";
|
||||
FONTCONFIG_PATH = "${fontconfig.out}/etc/fonts/";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace cpp/src/Options.cpp \
|
||||
--replace /etc/openzwave $out/etc/openzwave
|
||||
substituteInPlace cpp/build/Makefile \
|
||||
--replace "-Werror" "-Werror -Wno-format"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "C++ library to control Z-Wave Networks via a USB Z-Wave Controller";
|
||||
homepage = "http://www.openzwave.net/";
|
||||
license = lib.licenses.gpl3;
|
||||
maintainers = [ ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
@@ -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;
|
||||
};
|
||||
}
|
||||
@@ -1605,6 +1605,7 @@ mapAliases {
|
||||
opensyclWithRocm = throw "'opensyclWithRocm' has been renamed to/replaced by 'adaptivecppWithRocm'"; # Converted to throw 2025-10-27
|
||||
opentofu-ls = warnAlias "'opentofu-ls' has been renamed to 'tofu-ls'" tofu-ls; # Added 2025-06-10
|
||||
opentracing-cpp = throw "'opentracingc-cpp' has been removed as it was archived upstream in 2024"; # Added 2025-10-19
|
||||
openzwave = throw "openzwave was removed because upstream is no longer maintained. Consider using zwave-js-server"; # Added 2026-05-14
|
||||
opera = throw "'opera' has been removed due to lack of maintenance in nixpkgs"; # Added 2025-05-19
|
||||
opusTools = warnAlias "'opusTools' has been renamed to 'opus-tools'" opus-tools; # Added 2026-02-12
|
||||
orogene = throw "'orogene' uses a wasm-specific fork of async-tar that is vulnerable to CVE-2025-62518, which is not supported by its upstream"; # Added 2025-10-24
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user