Something went wrong. Try again.
lol
Something went wrong. Try again.
1.1 kB · 54 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455{ lib, aiohttp, aresponses, buildPythonPackage, fetchFromGitHub, hatchling, pytest-asyncio, pytest-cov-stub, pytestCheckHook,}:
buildPythonPackage rec { pname = "aioweenect"; version = "1.1.7"; pyproject = true;
src = fetchFromGitHub { owner = "eifinger"; repo = "aioweenect"; tag = "v${version}"; hash = "sha256-YaIOCBBfL2lC6EPwBShVbPXiVlic7zK6pNOWjBJ/Y7I="; };
postPatch = '' substituteInPlace pyproject.toml \ --replace-fail "--asyncio-mode=auto" "" '';
pythonRelaxDeps = [ "aiohttp" ];
build-system = [ hatchling ];
dependencies = [ aiohttp ];
nativeCheckInputs = [ aresponses pytest-asyncio pytest-cov-stub pytestCheckHook ];
__darwinAllowLocalNetworking = true;
pythonImportsCheck = [ "aioweenect" ];
meta = { description = "Library for the weenect API"; homepage = "https://github.com/eifinger/aioweenect"; changelog = "https://github.com/eifinger/aioweenect/releases/tag/v${version}"; license = with lib.licenses; [ mit ]; maintainers = with lib.maintainers; [ fab ]; };}