lol

python3Packages.hap-python: 4.4.0 -> 4.5.0

+15 -10
+15 -10
pkgs/development/python-modules/hap-python/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , base36 4 + , chacha20poly1305-reuseable 4 5 , cryptography 5 - , curve25519-donna 6 - , ecdsa 7 6 , fetchFromGitHub 8 7 , h11 8 + , orjson 9 9 , pyqrcode 10 10 , pytest-asyncio 11 11 , pytest-timeout ··· 16 16 17 17 buildPythonPackage rec { 18 18 pname = "hap-python"; 19 - version = "4.4.0"; 19 + version = "4.5.0"; 20 + format = "setuptools"; 20 21 disabled = pythonOlder "3.6"; 21 22 22 23 src = fetchFromGitHub { 23 24 owner = "ikalchev"; 24 25 repo = "HAP-python"; 25 - rev = "v${version}"; 26 - sha256 = "sha256-dSiI2W4U4FYwMRBInpxb/wkQLKxPzLHIkLPNgiZEhUA="; 26 + rev = "refs/tags/v${version}"; 27 + sha256 = "sha256-/XJvCL9hMIrOUwGPcrvSrJ6SZ/E6BQy+isFFlAniIM4="; 27 28 }; 28 29 29 30 propagatedBuildInputs = [ 30 - base36 31 + chacha20poly1305-reuseable 31 32 cryptography 32 - curve25519-donna 33 - ecdsa 34 33 h11 35 - pyqrcode 34 + orjson 36 35 zeroconf 37 36 ]; 38 37 38 + passthru.optional-dependencies.QRCode = [ 39 + base36 40 + pyqrcode 41 + ]; 42 + 39 43 checkInputs = [ 40 44 pytest-asyncio 41 45 pytest-timeout 42 46 pytestCheckHook 43 - ]; 47 + ] 48 + ++ passthru.optional-dependencies.QRCode; 44 49 45 50 disabledTestPaths = [ 46 51 # Disable tests requiring network access