Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
994 B · 51 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152{ aiohttp, aioresponses, buildPythonPackage, fetchFromGitHub, lib, poetry-core, pytest-asyncio, pytestCheckHook, yarl,}:
buildPythonPackage rec { pname = "iometer"; version = "0.1.0"; pyproject = true;
src = fetchFromGitHub { owner = "iometer-gmbh"; repo = "iometer.py"; tag = "v${version}"; hash = "sha256-+Ox9FlS2mswCt2jaJfKuvt21byjUrnCYp3vcv1D83Rs="; };
build-system = [ poetry-core ];
dependencies = [ aiohttp yarl ];
pythonImportsCheck = [ "iometer" ];
nativeCheckInputs = [ aioresponses pytest-asyncio pytestCheckHook ];
enabledTestPaths = [ "tests/test.py" ];
meta = { changelog = "https://github.com/iometer-gmbh/iometer.py/releases/tag/${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 ]; };}