Loading pkgs/development/python-modules/pycync/default.nix 0 → 100644 +49 −0 Original line number Diff line number Diff line { aiohttp, buildPythonPackage, fetchFromGitHub, hatchling, lib, pytest-asyncio, pytest-mock, pytestCheckHook, }: buildPythonPackage rec { pname = "pycync"; version = "0.4.2"; pyproject = true; src = fetchFromGitHub { owner = "Kinachi249"; repo = "pycync"; tag = "v${version}"; hash = "sha256-PDCS+ucfO5RRvTshGGjxir3ez7L405k5tL5svMxZMsg="; }; build-system = [ hatchling ]; dependencies = [ aiohttp ]; pythonImportsCheck = [ "pycync" ]; nativeCheckInputs = [ pytest-asyncio pytest-mock pytestCheckHook ]; preCheck = '' cd tests ''; meta = { changelog = "https://github.com/Kinachi249/pycync/releases/tag/${src.tag}"; description = "Python API library for Cync smart devices"; homepage = "https://github.com/Kinachi249/pycync"; license = lib.licenses.gpl3Plus; maintainers = [ lib.maintainers.dotlambda ]; }; } pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -12828,6 +12828,8 @@ self: super: with self; { pycycling = callPackage ../development/python-modules/pycycling { }; pycync = callPackage ../development/python-modules/pycync { }; pycyphal = callPackage ../development/python-modules/pycyphal { }; pydaikin = callPackage ../development/python-modules/pydaikin { }; Loading Loading
pkgs/development/python-modules/pycync/default.nix 0 → 100644 +49 −0 Original line number Diff line number Diff line { aiohttp, buildPythonPackage, fetchFromGitHub, hatchling, lib, pytest-asyncio, pytest-mock, pytestCheckHook, }: buildPythonPackage rec { pname = "pycync"; version = "0.4.2"; pyproject = true; src = fetchFromGitHub { owner = "Kinachi249"; repo = "pycync"; tag = "v${version}"; hash = "sha256-PDCS+ucfO5RRvTshGGjxir3ez7L405k5tL5svMxZMsg="; }; build-system = [ hatchling ]; dependencies = [ aiohttp ]; pythonImportsCheck = [ "pycync" ]; nativeCheckInputs = [ pytest-asyncio pytest-mock pytestCheckHook ]; preCheck = '' cd tests ''; meta = { changelog = "https://github.com/Kinachi249/pycync/releases/tag/${src.tag}"; description = "Python API library for Cync smart devices"; homepage = "https://github.com/Kinachi249/pycync"; license = lib.licenses.gpl3Plus; maintainers = [ lib.maintainers.dotlambda ]; }; }
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -12828,6 +12828,8 @@ self: super: with self; { pycycling = callPackage ../development/python-modules/pycycling { }; pycync = callPackage ../development/python-modules/pycync { }; pycyphal = callPackage ../development/python-modules/pycyphal { }; pydaikin = callPackage ../development/python-modules/pydaikin { }; Loading