evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / py-synologydsm-api / default.nix
blob8361171fc261fd61e2654779f30c66a75c24b82c
2   lib,
3   aiohttp,
4   buildPythonPackage,
5   fetchFromGitHub,
6   pytest-asyncio,
7   pytestCheckHook,
8   pythonOlder,
9   setuptools,
12 buildPythonPackage rec {
13   pname = "py-synologydsm-api";
14   version = "2.5.3";
15   pyproject = true;
17   disabled = pythonOlder "3.9";
19   src = fetchFromGitHub {
20     owner = "mib1185";
21     repo = "py-synologydsm-api";
22     rev = "refs/tags/v${version}";
23     hash = "sha256-3DpgJqL8pSiAK/t/Qe2CxntQStTqDumkivhnPKHVlnE=";
24   };
26   build-system = [ setuptools ];
28   dependencies = [ aiohttp ];
30   nativeCheckInputs = [
31     pytest-asyncio
32     pytestCheckHook
33   ];
35   pythonImportsCheck = [ "synology_dsm" ];
37   meta = with lib; {
38     description = "Python API for Synology DSM";
39     mainProgram = "synologydsm-api";
40     homepage = "https://github.com/mib1185/py-synologydsm-api";
41     changelog = "https://github.com/mib1185/py-synologydsm-api/releases/tag/v${version}";
42     license = licenses.mit;
43     maintainers = with maintainers; [ uvnikita ];
44   };