From cccfb58368d4639bd820dd74b8c7e7faabda32a0 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 30 Jan 2023 13:40:33 +0100 Subject: [PATCH] python310Packages.py-synologydsm-api: add changelog to meta --- .../python-modules/py-synologydsm-api/default.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/py-synologydsm-api/default.nix b/pkgs/development/python-modules/py-synologydsm-api/default.nix index dd940f0ee43e..767ff6556c2f 100644 --- a/pkgs/development/python-modules/py-synologydsm-api/default.nix +++ b/pkgs/development/python-modules/py-synologydsm-api/default.nix @@ -5,6 +5,7 @@ , pytestCheckHook , requests , urllib3 +, pythonOlder }: buildPythonPackage rec { @@ -12,11 +13,13 @@ buildPythonPackage rec { version = "1.0.8"; format = "pyproject"; + disabled = pythonOlder "3.7"; + src = fetchFromGitHub { owner = "mib1185"; repo = "synologydsm-api"; - rev = "v${version}"; - sha256 = "sha256-9bh7uLt9+uda6yFCWV6xUh//jFC4DgiS+KtRXQrU3A8="; + rev = "refs/tags/v${version}"; + hash = "sha256-9bh7uLt9+uda6yFCWV6xUh//jFC4DgiS+KtRXQrU3A8="; }; nativeBuildInputs = [ @@ -39,6 +42,7 @@ 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}"; license = licenses.mit; maintainers = with maintainers; [ uvnikita ]; };