3
0
Fork 0
forked from mirrors/nixpkgs
Fabian Affolter 2023-01-30 13:47:45 +01:00
parent cccfb58368
commit 3399462c9b

View file

@ -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 ];
};