python.pkgs.characteristic: fix pytest 4 incompatibility

This commit is contained in:
Frederik Rietdijk 2019-02-14 11:51:52 +01:00
parent 8875a3e706
commit a9c41f8f5d

View file

@ -13,6 +13,10 @@ buildPythonPackage rec {
checkInputs = [ pytest ];
postPatch = ''
substituteInPlace setup.cfg --replace "[pytest]" "[tool:pytest]"
'';
meta = {
description = "Python attributes without boilerplate";
homepage = https://characteristic.readthedocs.org;