pythonPackages.hiredis: fix tests

just requires the source-directory-hiding trick
This commit is contained in:
Robert Scott 2020-09-10 22:07:17 +01:00 committed by Jon
parent 8f6436a825
commit 483fa86c36

View File

@ -16,8 +16,10 @@ buildPythonPackage rec {
propagatedBuildInputs = [ redis ];
checkPhase = ''
mv hiredis _hiredis
${python.interpreter} test.py
'';
pythonImportsCheck = [ "hiredis" ];
meta = with stdenv.lib; {
description = "Wraps protocol parsing code in hiredis, speeds up parsing of multi bulk replies";