2017-05-02 21:10:58 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchurl, pytest, isPy3k }:
|
2017-04-26 13:28:39 +01:00
|
|
|
buildPythonPackage rec {
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
pname = "pytest-asyncio";
|
2017-10-25 19:04:35 +01:00
|
|
|
version = "0.8.0";
|
2017-04-26 13:28:39 +01:00
|
|
|
|
2017-05-02 21:10:58 +01:00
|
|
|
disabled = !isPy3k;
|
|
|
|
|
2017-04-26 13:28:39 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://pypi/p/${pname}/${name}.tar.gz";
|
2017-10-25 19:04:35 +01:00
|
|
|
sha256 = "f32804bb58a66e13a3eda11f8942a71b1b6a30466b0d2ffe9214787aab0e172e";
|
2017-04-26 13:28:39 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ pytest ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "library for testing asyncio code with pytest";
|
|
|
|
license = licenses.asl20;
|
|
|
|
homepage = https://github.com/pytest-dev/pytest-asyncio;
|
|
|
|
};
|
|
|
|
}
|