pythonPackages.py-synologydsm-api: init at 1.0.2

This commit is contained in:
Nikita Uvarov 2021-10-20 15:42:13 +02:00 committed by Jonathan Ringer
parent c56e8d2531
commit 917d7217a5
2 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,30 @@
{ lib
, buildPythonPackage
, fetchPypi
, urllib3
, requests
}:
buildPythonPackage rec {
pname = "py-synologydsm-api";
version = "1.0.2";
src = fetchPypi {
pname = "synologydsm-api";
inherit version;
sha256 = "42ea453ef5734dd5b8163e3d18ef309658f0298411720e6b834bededd28c5d53";
};
propagatedBuildInputs = [ urllib3 requests ];
pythonImportsCheck = [
"synology_dsm"
];
meta = with lib; {
description = "Python API for Synology DSM";
homepage = "https://github.com/hacf-fr/synologydsm-api";
license = licenses.mit;
maintainers = with maintainers; [ uvnikita ];
};
}

View file

@ -5995,6 +5995,8 @@ in {
py-dmidecode = callPackage ../development/python-modules/py-dmidecode { };
py-synologydsm-api = callPackage ../development/python-modules/py-synologydsm-api { };
py-ubjson = callPackage ../development/python-modules/py-ubjson { };
py17track = callPackage ../development/python-modules/py17track { };