1{ stdenv, buildPythonPackage, fetchurl, pytest, isPy3k }:
2buildPythonPackage rec {
3 name = "${pname}-${version}";
4 pname = "pytest-asyncio";
5 version = "0.8.0";
6
7 disabled = !isPy3k;
8
9 src = fetchurl {
10 url = "mirror://pypi/p/${pname}/${name}.tar.gz";
11 sha256 = "f32804bb58a66e13a3eda11f8942a71b1b6a30466b0d2ffe9214787aab0e172e";
12 };
13
14 buildInputs = [ pytest ];
15
16 meta = with stdenv.lib; {
17 description = "library for testing asyncio code with pytest";
18 license = licenses.asl20;
19 homepage = https://github.com/pytest-dev/pytest-asyncio;
20 };
21}