python3Packages.subunit: use postPatch

This commit is contained in:
Frederik Rietdijk 2021-07-27 20:05:45 +02:00
parent 9c9f7fd11c
commit a949d53b2b

View file

@ -27,7 +27,7 @@ buildPythonPackage {
--ignore=python/subunit/tests/test_{output_filter,test_protocol{,2}}.py
'';
patchPhase = ''
postPatch = ''
sed -i 's/version=VERSION/version="${subunit.version}"/' setup.py
'';
}