1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-20 12:42:24 +00:00

python3Packages.asyncio-dgram: 2.1.0 -> 2.1.1

This commit is contained in:
Fabian Affolter 2022-01-01 11:15:02 +01:00
parent c51922e639
commit c0c0ebb7c2

View file

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