1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

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

python3Packages.asyncio-dgram: 2.1.1 -> 2.1.1
This commit is contained in:
Fabian Affolter 2022-01-01 17:23:05 +01:00 committed by GitHub
commit d10c511181
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,33 +1,41 @@
{ stdenv { lib
, lib , stdenv
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, pytestCheckHook
, pytest-asyncio , pytest-asyncio
, pytestCheckHook
, pythonOlder
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "asyncio-dgram"; pname = "asyncio-dgram";
version = "2.1.0"; version = "2.1.1";
format = "setuptools";
disabled = pythonOlder "3.5";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "jsbronder"; owner = "jsbronder";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "1ibyphncb3d8vrs3yk8j6l1smmnibizx9k1vir2njhi09r57h9mx"; sha256 = "sha256-3K9VpX6JWCgz+Lx+5ZKqXG53B/uJCtI0x4pHy2pJdZg=";
}; };
checkInputs = [
pytest-asyncio
pytestCheckHook
];
# OSError: AF_UNIX path too long # OSError: AF_UNIX path too long
doCheck = !stdenv.isDarwin; doCheck = !stdenv.isDarwin;
checkInputs = [ disabledTests = [
pytestCheckHook "test_protocol_pause_resume"
pytest-asyncio
]; ];
disabledTests = [ "test_protocol_pause_resume" ]; pythonImportsCheck = [
"asyncio_dgram"
pythonImportsCheck = [ "asyncio_dgram" ]; ];
meta = with lib; { meta = with lib; {
description = "Python support for higher level Datagram"; description = "Python support for higher level Datagram";