python3Packages.zeversolarlocal: drop (#483798)

This commit is contained in:
Fabian Affolter
2026-01-31 17:30:30 +00:00
committed by GitHub
3 changed files with 1 additions and 68 deletions
@@ -1,66 +0,0 @@
{
lib,
buildPythonPackage,
fetchPypi,
fetchpatch,
flit-core,
dos2unix,
httpx,
pytest-asyncio,
pytest-cov-stub,
pytest-mock,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "zeversolarlocal";
version = "1.1.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-ExZy5k5RE7k+D0lGmuIkGWrWQ+m24K2oqbUEg4BAVuY=";
};
build-system = [
flit-core
dos2unix
];
dependencies = [ httpx ];
nativeCheckInputs = [
pytest-asyncio
pytest-cov-stub
pytest-mock
pytestCheckHook
];
# the patch below won't apply unless we fix the line endings
prePatch = ''
dos2unix pyproject.toml
'';
patches = [
# Raise the flit-core limit
# https://github.com/sander76/zeversolarlocal/pull/4
(fetchpatch {
url = "https://github.com/sander76/zeversolarlocal/commit/bff072ea046de07eced77bc79eb8e90dfef1f53f.patch";
hash = "sha256-tzFCwPzhAfwVfN5mLY/DMwRv7zGzx3ScBe+kKzkYcvo=";
})
];
disabledTests = [
# Test requires network access
"test_httpx_timeout"
];
pythonImportsCheck = [ "zeversolarlocal" ];
meta = {
description = "Python module to interact with Zeversolar inverters";
homepage = "https://github.com/sander76/zeversolarlocal";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
+1
View File
@@ -545,6 +545,7 @@ mapAliases {
zc-buildout221 = throw "'zc-buildout221' has been renamed to/replaced by 'zc-buildout'"; # Converted to throw 2025-10-29
zc_lockfile = throw "'zc_lockfile' has been renamed to/replaced by 'zc-lockfile'"; # Converted to throw 2025-10-29
zetup = "'zetup' has been removed because it is unmaintained"; # Added 2026-01-19
zeversolarlocal = throw "'zeversolarlocal' has been removed because it is unmaintained"; # Added 2026-01-28
zope_component = throw "'zope_component' has been renamed to/replaced by 'zope-component'"; # Converted to throw 2025-10-29
zope_configuration = throw "'zope_configuration' has been renamed to/replaced by 'zope-configuration'"; # Converted to throw 2025-10-29
zope_contenttype = throw "'zope_contenttype' has been renamed to/replaced by 'zope-contenttype'"; # Converted to throw 2025-10-29
-2
View File
@@ -21186,8 +21186,6 @@ self: super: with self; {
zeversolar = callPackage ../development/python-modules/zeversolar { };
zeversolarlocal = callPackage ../development/python-modules/zeversolarlocal { };
zfec = callPackage ../development/python-modules/zfec { };
zha = callPackage ../development/python-modules/zha { };