Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879{ lib, aiohttp, aioresponses, awesomeversion, buildPythonPackage, click, fetchFromGitHub, mashumaro, orjson, poetry-core, pytest-asyncio, pytest-cov-stub, pytestCheckHook, rich, syrupy, textual, textual-plotext, typer, yarl,}:
buildPythonPackage (finalAttrs: { pname = "fumis"; version = "0.4.2"; pyproject = true;
src = fetchFromGitHub { owner = "frenck"; repo = "python-fumis"; tag = "v${finalAttrs.version}"; hash = "sha256-coD95rnX6zs4gDqfa/FcO/bM6NjrrZ/nluidhedDGfg="; };
postPatch = '' substituteInPlace pyproject.toml \ --replace-fail "0.0.0" "${finalAttrs.version}" '';
build-system = [ poetry-core ];
dependencies = [ aiohttp awesomeversion mashumaro orjson yarl ];
optional-dependencies = { cli = [ rich textual textual-plotext typer ]; };
nativeCheckInputs = [ aioresponses click pytest-asyncio pytest-cov-stub pytestCheckHook syrupy ] ++ lib.concatAttrValues finalAttrs.passthru.optional-dependencies;
pythonImportsCheck = [ "fumis" ];
meta = { description = "Asynchronous Python client for the Fumis WiRCU API"; homepage = "https://github.com/frenck/python-fumis"; changelog = "https://github.com/frenck/python-fumis/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = [ lib.maintainers.jamiemagee ]; };})