mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-29 19:30:11 +00:00
python3Packages.pystiebeleltron: 0.3.2 -> 0.6.2
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
hatchling,
|
||||
pymodbus,
|
||||
modbus-connection,
|
||||
pytestCheckHook,
|
||||
pytest-asyncio,
|
||||
pytest-mock,
|
||||
@@ -11,19 +11,22 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pystiebeleltron";
|
||||
version = "0.3.2";
|
||||
version = "0.6.2";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ThyMYthOS";
|
||||
repo = "python-stiebel-eltron";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-ApFhqJsYC/Kym1ITq5dn0/OQ6++led6RbG97DGvno0k=";
|
||||
hash = "sha256-tX9n+ez6+ToK7nVxZfhjywdk4hjqi685kTboNxSW+Ag=";
|
||||
};
|
||||
|
||||
build-system = [ hatchling ];
|
||||
|
||||
dependencies = [ pymodbus ];
|
||||
dependencies = [
|
||||
modbus-connection
|
||||
]
|
||||
++ modbus-connection.optional-dependencies.pymodbus;
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
@@ -31,11 +34,6 @@ buildPythonPackage rec {
|
||||
pytest-mock
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# mock server is not compatible with pymodbus 3.13
|
||||
"test/test_pystiebeleltron.py"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "pystiebeleltron" ];
|
||||
|
||||
meta = {
|
||||
|
||||
Reference in New Issue
Block a user