forked from mirrors/nixpkgs
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
This commit is contained in:
parent
cccfb58368
commit
3399462c9b
|
@ -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 ];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue