From c8d0c5fdec7c65ffc4e143e9e754a244a1bada55 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Sat, 25 Aug 2018 07:52:04 +0200 Subject: [PATCH] pythonPackages.pytest-asyncio: fix build --- pkgs/development/python-modules/pytest-asyncio/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/python-modules/pytest-asyncio/default.nix b/pkgs/development/python-modules/pytest-asyncio/default.nix index 6d90521900f..6b4ce6f6123 100644 --- a/pkgs/development/python-modules/pytest-asyncio/default.nix +++ b/pkgs/development/python-modules/pytest-asyncio/default.nix @@ -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;