3
0
Fork 0
forked from mirrors/nixpkgs

python310Packages.py-synologydsm-api: add changelog to meta

This commit is contained in:
Fabian Affolter 2023-01-30 13:40:33 +01:00
parent 6356b18b6f
commit cccfb58368

View file

@ -5,6 +5,7 @@
, pytestCheckHook , pytestCheckHook
, requests , requests
, urllib3 , urllib3
, pythonOlder
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -12,11 +13,13 @@ buildPythonPackage rec {
version = "1.0.8"; version = "1.0.8";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "mib1185"; owner = "mib1185";
repo = "synologydsm-api"; repo = "synologydsm-api";
rev = "v${version}"; rev = "refs/tags/v${version}";
sha256 = "sha256-9bh7uLt9+uda6yFCWV6xUh//jFC4DgiS+KtRXQrU3A8="; hash = "sha256-9bh7uLt9+uda6yFCWV6xUh//jFC4DgiS+KtRXQrU3A8=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -39,6 +42,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Python API for Synology DSM"; description = "Python API for Synology DSM";
homepage = "https://github.com/hacf-fr/synologydsm-api"; homepage = "https://github.com/hacf-fr/synologydsm-api";
changelog = "https://github.com/hacf-fr/synologydsm-api/releases/tag/v${version}";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ uvnikita ]; maintainers = with maintainers; [ uvnikita ];
}; };