Merge pull request #310773 from fabaff/asyncio-dgram-bump

python312Packages.asyncio-dgram: 2.1.2 -> 2.2.0
This commit is contained in:
Fabian Affolter 2024-05-11 19:42:42 +02:00 committed by GitHub
commit 0846159d85
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,32 +1,33 @@
{ lib
, stdenv
, buildPythonPackage
, fetchFromGitHub
, pytest-asyncio
, pytestCheckHook
, pythonOlder
{
lib,
stdenv,
buildPythonPackage,
fetchFromGitHub,
pytest-asyncio,
pytestCheckHook,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "asyncio-dgram";
version = "2.1.2";
format = "setuptools";
version = "2.2.0";
pyproject = true;
disabled = pythonOlder "3.5";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "jsbronder";
repo = pname;
rev = "refs/tagsv${version}";
repo = "asyncio-dgram";
rev = "refs/tags/v${version}";
hash = "sha256-Eb/9JtgPT2yOlfnn5Ox8M0kcQhSlRCuX8+Rq6amki8Q=";
};
nativeCheckInputs = [
pytestCheckHook
];
build-system = [ setuptools ];
checkInputs = [
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook
];
# OSError: AF_UNIX path too long
@ -38,9 +39,7 @@ buildPythonPackage rec {
"test_from_socket_bad_socket"
];
pythonImportsCheck = [
"asyncio_dgram"
];
pythonImportsCheck = [ "asyncio_dgram" ];
meta = with lib; {
description = "Python support for higher level Datagram";