python3Packages.hap-python: 4.4.0 -> 4.5.0

This commit is contained in:
Martin Weinelt 2022-07-16 12:59:11 +02:00
parent ad25b70375
commit 6180d22daa

View File

@ -1,11 +1,11 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, base36 , base36
, chacha20poly1305-reuseable
, cryptography , cryptography
, curve25519-donna
, ecdsa
, fetchFromGitHub , fetchFromGitHub
, h11 , h11
, orjson
, pyqrcode , pyqrcode
, pytest-asyncio , pytest-asyncio
, pytest-timeout , pytest-timeout
@ -16,31 +16,36 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "hap-python"; pname = "hap-python";
version = "4.4.0"; version = "4.5.0";
format = "setuptools";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ikalchev"; owner = "ikalchev";
repo = "HAP-python"; repo = "HAP-python";
rev = "v${version}"; rev = "refs/tags/v${version}";
sha256 = "sha256-dSiI2W4U4FYwMRBInpxb/wkQLKxPzLHIkLPNgiZEhUA="; sha256 = "sha256-/XJvCL9hMIrOUwGPcrvSrJ6SZ/E6BQy+isFFlAniIM4=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
base36 chacha20poly1305-reuseable
cryptography cryptography
curve25519-donna
ecdsa
h11 h11
pyqrcode orjson
zeroconf zeroconf
]; ];
passthru.optional-dependencies.QRCode = [
base36
pyqrcode
];
checkInputs = [ checkInputs = [
pytest-asyncio pytest-asyncio
pytest-timeout pytest-timeout
pytestCheckHook pytestCheckHook
]; ]
++ passthru.optional-dependencies.QRCode;
disabledTestPaths = [ disabledTestPaths = [
# Disable tests requiring network access # Disable tests requiring network access