Loading pkgs/development/python-modules/aiowithings/default.nix 0 → 100644 +60 −0 Original line number Diff line number Diff line { lib , aiohttp , aresponses , buildPythonPackage , fetchFromGitHub , poetry-core , pytest-asyncio , pytestCheckHook , pythonOlder , syrupy , yarl }: buildPythonPackage rec { pname = "aiowithings"; version = "0.3.0"; pyproject = true; disabled = pythonOlder "3.11"; src = fetchFromGitHub { owner = "joostlek"; repo = "python-withings"; rev = "refs/tags/v${version}"; hash = "sha256-oIFgPO5gmg09QOs94TUTfMAslMI2kpvenyOxQ4SvC/4="; }; postPatch = '' substituteInPlace pyproject.toml \ --replace "--cov" "" ''; nativeBuildInputs = [ poetry-core ]; propagatedBuildInputs = [ aiohttp yarl ]; nativeCheckInputs = [ aresponses pytest-asyncio pytestCheckHook syrupy ]; pythonImportsCheck = [ "aiowithings" ]; meta = with lib; { description = "Module to interact with Withings"; homepage = "https://github.com/joostlek/python-withings"; changelog = "https://github.com/joostlek/python-withings/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ fab ]; }; } pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -420,6 +420,8 @@ self: super: with self; { aiowinreg = callPackage ../development/python-modules/aiowinreg { }; aiowithings = callPackage ../development/python-modules/aiowithings { }; aioxmpp = callPackage ../development/python-modules/aioxmpp { }; aioymaps = callPackage ../development/python-modules/aioymaps { }; Loading Loading
pkgs/development/python-modules/aiowithings/default.nix 0 → 100644 +60 −0 Original line number Diff line number Diff line { lib , aiohttp , aresponses , buildPythonPackage , fetchFromGitHub , poetry-core , pytest-asyncio , pytestCheckHook , pythonOlder , syrupy , yarl }: buildPythonPackage rec { pname = "aiowithings"; version = "0.3.0"; pyproject = true; disabled = pythonOlder "3.11"; src = fetchFromGitHub { owner = "joostlek"; repo = "python-withings"; rev = "refs/tags/v${version}"; hash = "sha256-oIFgPO5gmg09QOs94TUTfMAslMI2kpvenyOxQ4SvC/4="; }; postPatch = '' substituteInPlace pyproject.toml \ --replace "--cov" "" ''; nativeBuildInputs = [ poetry-core ]; propagatedBuildInputs = [ aiohttp yarl ]; nativeCheckInputs = [ aresponses pytest-asyncio pytestCheckHook syrupy ]; pythonImportsCheck = [ "aiowithings" ]; meta = with lib; { description = "Module to interact with Withings"; homepage = "https://github.com/joostlek/python-withings"; changelog = "https://github.com/joostlek/python-withings/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ fab ]; }; }
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -420,6 +420,8 @@ self: super: with self; { aiowinreg = callPackage ../development/python-modules/aiowinreg { }; aiowithings = callPackage ../development/python-modules/aiowithings { }; aioxmpp = callPackage ../development/python-modules/aioxmpp { }; aioymaps = callPackage ../development/python-modules/aioymaps { }; Loading