Merge pull request #269738 from fabaff/gridnet-bump

python311Packages.gridnet: 4.3.0 -> 5.0.0
This commit is contained in:
Fabian Affolter 2023-11-25 09:06:00 +01:00 committed by GitHub
commit 8334d36bc1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 ];
};