lol

python313Packages.devolo-home-control-api: 0.18.3 -> 0.19.0

Changelog: https://github.com/2Fake/devolo_home_control_api/blob/v0.19.0/docs/CHANGELOG.md

authored by

Fabian Affolter and committed by
Martin Weinelt
69508549 ab581bdd

+28 -10
+28 -10
pkgs/development/python-modules/devolo-home-control-api/default.nix
··· 2 2 lib, 3 3 buildPythonPackage, 4 4 fetchFromGitHub, 5 + pytest-freezer, 5 6 pytest-mock, 6 7 pytestCheckHook, 8 + python-dateutil, 7 9 pythonOlder, 8 10 requests, 11 + requests-mock, 9 12 setuptools-scm, 13 + setuptools, 14 + syrupy, 10 15 websocket-client, 11 16 zeroconf, 12 17 }: 13 18 14 19 buildPythonPackage rec { 15 20 pname = "devolo-home-control-api"; 16 - version = "0.18.3"; 17 - format = "setuptools"; 18 - disabled = pythonOlder "3.6"; 21 + version = "0.19.0"; 22 + pyproject = true; 23 + 24 + disabled = pythonOlder "3.12"; 19 25 20 26 src = fetchFromGitHub { 21 27 owner = "2Fake"; 22 28 repo = "devolo_home_control_api"; 23 - rev = "v${version}"; 24 - hash = "sha256-4AyC1DDYtKl8SwJf75BbzoOAhbZXmBZ05ma9YmLzksM="; 29 + tag = "v${version}"; 30 + hash = "sha256-eBJ6hdxUplc1poh7WFACWkyfReSdRSyCEoq2A6Sudgg="; 25 31 }; 26 32 27 - nativeBuildInputs = [ setuptools-scm ]; 33 + build-system = [ 34 + setuptools 35 + setuptools-scm 36 + ]; 28 37 29 - propagatedBuildInputs = [ 38 + dependencies = [ 39 + python-dateutil 30 40 requests 31 41 zeroconf 32 42 websocket-client 33 43 ]; 34 44 35 45 nativeCheckInputs = [ 46 + pytest-freezer 47 + pytest-mock 36 48 pytestCheckHook 37 - pytest-mock 49 + requests-mock 50 + syrupy 51 + ]; 52 + 53 + pytestFlags = [ 54 + "--snapshot-update" 38 55 ]; 39 56 40 - # Disable test that requires network access 41 57 disabledTests = [ 58 + # Disable test that requires network access 42 59 "test__on_pong" 43 60 "TestMprm" 44 61 ]; ··· 48 65 meta = with lib; { 49 66 description = "Python library to work with devolo Home Control"; 50 67 homepage = "https://github.com/2Fake/devolo_home_control_api"; 51 - license = with licenses; [ gpl3Only ]; 68 + changelog = "https://github.com/2Fake/devolo_home_control_api/blob/${src.tag}/docs/CHANGELOG.md"; 69 + license = licenses.gpl3Only; 52 70 maintainers = with maintainers; [ fab ]; 53 71 }; 54 72 }