python.pkgs.characteristic: fix pytest 4 incompatibility
This commit is contained in:
parent
8875a3e706
commit
a9c41f8f5d
@ -13,6 +13,10 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
checkInputs = [ pytest ];
|
checkInputs = [ pytest ];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace setup.cfg --replace "[pytest]" "[tool:pytest]"
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Python attributes without boilerplate";
|
description = "Python attributes without boilerplate";
|
||||||
homepage = https://characteristic.readthedocs.org;
|
homepage = https://characteristic.readthedocs.org;
|
||||||
|
Loading…
Reference in New Issue
Block a user