1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00

pythonPackages.hiredis: init at 1.0.0

This commit is contained in:
Henri Bourcereau 2019-01-27 11:53:16 +01:00 committed by worldofpeace
parent 0e9169e44c
commit f975f511ab
2 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,29 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, redis
, python
}:
buildPythonPackage rec {
pname = "hiredis";
version = "1.0.0";
src = fetchPypi {
inherit pname version;
sha256 = "158pymdlnv4d218w66i8kzdn4ka30l1pdwa0wyjh16bj10zraz79";
};
propagatedBuildInputs = [ redis ];
checkPhase = ''
${python.interpreter} test.py
'';
meta = with stdenv.lib; {
description = "Wraps protocol parsing code in hiredis, speeds up parsing of multi bulk replies";
homepage = "https://github.com/redis/hiredis-py";
license = licenses.bsd3;
maintainers = with maintainers; [ mmai ];
};
}

View file

@ -3423,6 +3423,8 @@ in {
hetzner = callPackage ../development/python-modules/hetzner { };
hiredis = callPackage ../development/python-modules/hiredis { };
homeassistant-pyozw = callPackage ../development/python-modules/homeassistant-pyozw { };
htmllaundry = callPackage ../development/python-modules/htmllaundry { };