python3Packages.m3u8: fix build on Hydra (x86_64-darwin)

This commit is contained in:
Sebastián Mancilla 2021-11-19 17:07:49 -03:00 committed by Jonathan Ringer
parent 8e4ef58acb
commit 2b84c77b3e

View file

@ -21,6 +21,11 @@ buildPythonPackage rec {
"tests/test_variant_m3u8.py"
];
preCheck = ''
# Fix test on Hydra
substituteInPlace tests/test_model.py --replace "/tmp/d.m3u8" "$TMPDIR/d.m3u8"
'';
meta = with lib; {
homepage = "https://github.com/globocom/m3u8";
description = "Python m3u8 parser";