13 buildPythonPackage rec {
18 disabled = pythonOlder "3.11";
20 src = fetchFromGitHub {
21 owner = "klaasnicolaas";
22 repo = "python-gridnet";
23 rev = "refs/tags/v${version}";
24 hash = "sha256-7tLT5sRoUjWs1DOIuUEbnJJkg9LHZqrN/eu+Mjx5Yd4=";
28 substituteInPlace pyproject.toml \
29 --replace "0.0.0" "${version}" \
37 propagatedBuildInputs = [
48 pythonImportsCheck = [
53 description = "Asynchronous Python client for NET2GRID devices";
54 homepage = "https://github.com/klaasnicolaas/python-gridnet";
55 changelog = "https://github.com/klaasnicolaas/python-gridnet/releases/tag/v${version}";
56 license = licenses.mit;
57 maintainers = with maintainers; [ dotlambda ];