1{ stdenv, buildPythonPackage, fetchPypi, pytest, mock, six, twisted }:
2
3buildPythonPackage rec {
4 pname = "txaio";
5 version = "18.7.1";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "701de939e90bb80f7e085357081552437526752199def5541dddfc34c0b0593f";
10 };
11
12 checkInputs = [ pytest mock ];
13
14 propagatedBuildInputs = [ six twisted ];
15
16 checkPhase = ''
17 py.test -k "not test_sdist"
18 '';
19
20 meta = with stdenv.lib; {
21 description = "Utilities to support code that runs unmodified on Twisted and asyncio.";
22 homepage = "https://github.com/crossbario/txaio";
23 license = licenses.mit;
24 maintainers = with maintainers; [ nand0p ];
25 };
26}