2018-06-12 19:00:07 +02:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, pytest, isPy3k }:
|
2017-04-26 14:28:39 +02:00
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pytest-asyncio";
|
2017-10-25 20:04:35 +02:00
|
|
|
version = "0.8.0";
|
2017-04-26 14:28:39 +02:00
|
|
|
|
2017-05-02 22:10:58 +02:00
|
|
|
disabled = !isPy3k;
|
|
|
|
|
2018-06-12 19:00:07 +02:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2017-10-25 20:04:35 +02:00
|
|
|
sha256 = "f32804bb58a66e13a3eda11f8942a71b1b6a30466b0d2ffe9214787aab0e172e";
|
2017-04-26 14:28:39 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ pytest ];
|
|
|
|
|
2018-06-12 19:00:07 +02:00
|
|
|
# No tests in archive
|
|
|
|
doCheck = false;
|
|
|
|
|
2017-04-26 14:28:39 +02:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "library for testing asyncio code with pytest";
|
|
|
|
license = licenses.asl20;
|
|
|
|
homepage = https://github.com/pytest-dev/pytest-asyncio;
|
|
|
|
};
|
|
|
|
}
|