Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354{ aiohttp, aiohttp-sse-client, aioresponses, buildPythonPackage, fetchFromGitHub, lib, poetry-core, pytest-asyncio, pytestCheckHook, yarl,}:
buildPythonPackage (finalAttrs: { pname = "iometer"; version = "1.0.2"; pyproject = true;
src = fetchFromGitHub { owner = "iometer-gmbh"; repo = "iometer.py"; tag = "v${finalAttrs.version}"; hash = "sha256-50tq+z1+8CX58Yj6GztYXStHMG+IncOHDgwK8WhxVcQ="; };
build-system = [ poetry-core ];
dependencies = [ aiohttp aiohttp-sse-client yarl ];
pythonImportsCheck = [ "iometer" ];
nativeCheckInputs = [ aioresponses pytest-asyncio pytestCheckHook ];
enabledTestPaths = [ "tests/test.py" ];
meta = { changelog = "https://github.com/iometer-gmbh/iometer.py/releases/tag/${finalAttrs.src.tag}"; description = "Python client for interacting with IOmeter devices over HTTP"; homepage = "https://github.com/iometer-gmbh/iometer.py"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ dotlambda ]; };})