mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
pythonPackages.hiredis: fix tests
just requires the source-directory-hiding trick
This commit is contained in:
parent
8f6436a825
commit
483fa86c36
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user