14 buildPythonPackage rec {
19 disabled = pythonOlder "3.11";
21 src = fetchFromGitHub {
22 owner = "klaasnicolaas";
23 repo = "python-gridnet";
24 rev = "refs/tags/v${version}";
25 hash = "sha256-HVBUAasK7lFsj/tT0j70x/2w4RJtnHWfX/1XbfKKLf8=";
29 substituteInPlace pyproject.toml \
30 --replace "0.0.0" "${version}" \
34 nativeBuildInputs = [ poetry-core ];
36 propagatedBuildInputs = [
47 pythonImportsCheck = [ "gridnet" ];
50 description = "Asynchronous Python client for NET2GRID devices";
51 homepage = "https://github.com/klaasnicolaas/python-gridnet";
52 changelog = "https://github.com/klaasnicolaas/python-gridnet/releases/tag/v${version}";
53 license = licenses.mit;
54 maintainers = with maintainers; [ dotlambda ];