From 3399462c9ba429af424ad60804f9869cbe339b0f Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 30 Jan 2023 13:47:45 +0100 Subject: [PATCH] python310Packages.py-synologydsm-api: 1.0.8 -> 2.1.0 Diff: https://github.com/mib1185/py-synologydsm-api/compare/refs/tags/v1.0.8...v2.1.0 Changelog: https://github.com/mib1185/py-synologydsm-api/releases/tag/v2.1.0 --- .../py-synologydsm-api/default.nix | 22 ++++++++++--------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/pkgs/development/python-modules/py-synologydsm-api/default.nix b/pkgs/development/python-modules/py-synologydsm-api/default.nix index 767ff6556c2f..ed2c0022a0a3 100644 --- a/pkgs/development/python-modules/py-synologydsm-api/default.nix +++ b/pkgs/development/python-modules/py-synologydsm-api/default.nix @@ -1,34 +1,36 @@ { lib +, aiohttp +, async-timeout , buildPythonPackage , fetchFromGitHub , poetry-core , pytestCheckHook -, requests -, urllib3 , pythonOlder +, setuptools }: buildPythonPackage rec { pname = "py-synologydsm-api"; - version = "1.0.8"; + version = "2.1.0"; format = "pyproject"; - disabled = pythonOlder "3.7"; + disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "mib1185"; - repo = "synologydsm-api"; + repo = "py-synologydsm-api"; rev = "refs/tags/v${version}"; - hash = "sha256-9bh7uLt9+uda6yFCWV6xUh//jFC4DgiS+KtRXQrU3A8="; + hash = "sha256-bolcqPIBHglZ7Em8/66MBypivDPehdgTaPOxAjR9Bd0="; }; nativeBuildInputs = [ poetry-core + setuptools ]; propagatedBuildInputs = [ - requests - urllib3 + aiohttp + async-timeout ]; nativeCheckInputs = [ @@ -41,8 +43,8 @@ buildPythonPackage rec { meta = with lib; { description = "Python API for Synology DSM"; - homepage = "https://github.com/hacf-fr/synologydsm-api"; - changelog = "https://github.com/hacf-fr/synologydsm-api/releases/tag/v${version}"; + homepage = "https://github.com/mib1185/py-synologydsm-api"; + changelog = "https://github.com/mib1185/py-synologydsm-api/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ uvnikita ]; };