pythonPackages.pytest-asyncio: fix build

This commit is contained in:
Frederik Rietdijk 2018-08-25 07:52:04 +02:00
parent 167c0d347b
commit c8d0c5fdec

View file

@ -15,6 +15,11 @@ buildPythonPackage rec {
# No tests in archive
doCheck = false;
# LICENSE file is not distributed. https://github.com/pytest-dev/pytest-asyncio/issues/92
postPatch = ''
substituteInPlace setup.cfg --replace "license_file = LICENSE" ""
'';
meta = with stdenv.lib; {
description = "library for testing asyncio code with pytest";
license = licenses.asl20;