diff --git a/pkgs/development/python-modules/gridnet/default.nix b/pkgs/development/python-modules/gridnet/default.nix index 72eba9d84cf7..46a3f3f1b839 100644 --- a/pkgs/development/python-modules/gridnet/default.nix +++ b/pkgs/development/python-modules/gridnet/default.nix @@ -1,28 +1,27 @@ { lib +, aiohttp +, aresponses , buildPythonPackage -, pythonOlder , fetchFromGitHub , poetry-core -, aiohttp -, yarl -, aresponses , pytest-asyncio , pytestCheckHook +, pythonOlder +, yarl }: buildPythonPackage rec { pname = "gridnet"; - version = "4.3.0"; + version = "5.0.0"; + pyproject = true; - disabled = pythonOlder "3.9"; - - format = "pyproject"; + disabled = pythonOlder "3.11"; src = fetchFromGitHub { owner = "klaasnicolaas"; repo = "python-gridnet"; rev = "refs/tags/v${version}"; - hash = "sha256-8R8vPVL1Iq0NneN8G2bjUOrEq96LW9Zk5RcWG/LSJTY="; + hash = "sha256-7tLT5sRoUjWs1DOIuUEbnJJkg9LHZqrN/eu+Mjx5Yd4="; }; postPatch = '' @@ -46,11 +45,14 @@ buildPythonPackage rec { pytestCheckHook ]; - pythonImportsCheck = [ "gridnet" ]; + pythonImportsCheck = [ + "gridnet" + ]; meta = with lib; { description = "Asynchronous Python client for NET2GRID devices"; homepage = "https://github.com/klaasnicolaas/python-gridnet"; + changelog = "https://github.com/klaasnicolaas/python-gridnet/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ dotlambda ]; };