python.pkgs.pytest-asyncio: minor improvements

This commit is contained in:
Frederik Rietdijk 2018-06-12 19:00:07 +02:00
parent 0726d95372
commit b8f7cc5419

View File

@ -1,18 +1,20 @@
{ stdenv, buildPythonPackage, fetchurl, pytest, isPy3k }: { stdenv, buildPythonPackage, fetchPypi, pytest, isPy3k }:
buildPythonPackage rec { buildPythonPackage rec {
name = "${pname}-${version}";
pname = "pytest-asyncio"; pname = "pytest-asyncio";
version = "0.8.0"; version = "0.8.0";
disabled = !isPy3k; disabled = !isPy3k;
src = fetchurl { src = fetchPypi {
url = "mirror://pypi/p/${pname}/${name}.tar.gz"; inherit pname version;
sha256 = "f32804bb58a66e13a3eda11f8942a71b1b6a30466b0d2ffe9214787aab0e172e"; sha256 = "f32804bb58a66e13a3eda11f8942a71b1b6a30466b0d2ffe9214787aab0e172e";
}; };
buildInputs = [ pytest ]; buildInputs = [ pytest ];
# No tests in archive
doCheck = false;
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "library for testing asyncio code with pytest"; description = "library for testing asyncio code with pytest";
license = licenses.asl20; license = licenses.asl20;