Fabian Affolter 2023-11-13 13:41:16 +01:00
parent 6ed37e8e04
commit 8906b66ad2

View file

@ -12,7 +12,7 @@
buildPythonPackage rec {
pname = "weconnect";
version = "0.59.1";
version = "0.59.4";
format = "setuptools";
disabled = pythonOlder "3.8";
@ -21,7 +21,7 @@ buildPythonPackage rec {
owner = "tillsteinbach";
repo = "WeConnect-python";
rev = "refs/tags/v${version}";
hash = "sha256-h2rMfpLsc2IPZN0Qp7vomoFMJxLXctkuiov3sntd5c0=";
hash = "sha256-Z9tiK6oDyyMcXhgUUxSDL9URYDp6Uz8rFPART3qxd+s=";
};
propagatedBuildInputs = [
@ -47,14 +47,12 @@ buildPythonPackage rec {
substituteInPlace setup.py \
--replace "setup_requires=SETUP_REQUIRED," "setup_requires=[]," \
--replace "tests_require=TEST_REQUIRED," "tests_require=[],"
substituteInPlace requirements.txt \
--replace "requests~=2.29.0" "requests"
substituteInPlace image_extra_requirements.txt \
--replace "pillow~=" "pillow>=" \
--replace "ascii_magic~=" "ascii_magic>="
substituteInPlace pytest.ini \
--replace "--cov=weconnect --cov-config=.coveragerc --cov-report html" "" \
--replace "pytest-cov" ""
--replace "required_plugins = pytest-httpserver pytest-cov" ""
'';
pythonImportsCheck = [