Something went wrong. Try again.
lol
Something went wrong. Try again.
974 B · 50 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051{ lib, buildPythonPackage, fetchFromGitHub, hatch-vcs, hatchling, httpx, pytest-cov-stub, pytestCheckHook, pythonOlder, respx,}:
buildPythonPackage rec { pname = "iaqualink"; version = "0.6.0"; pyproject = true;
disabled = pythonOlder "3.12";
src = fetchFromGitHub { owner = "flz"; repo = "iaqualink-py"; tag = "v${version}"; hash = "sha256-s/ZhcbTaCvn7ei1O4+P4fKPojitl+4gsatc9PZx+W2g="; };
build-system = [ hatch-vcs hatchling ];
dependencies = [ httpx ] ++ httpx.optional-dependencies.http2;
nativeCheckInputs = [ pytest-cov-stub pytestCheckHook respx ];
pythonImportsCheck = [ "iaqualink" ];
meta = { description = "Python library for Jandy iAqualink"; homepage = "https://github.com/flz/iaqualink-py"; changelog = "https://github.com/flz/iaqualink-py/releases/tag/v${src.tag}"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ fab ]; };}