pythonPackages.hiredis: init at 1.0.0
This commit is contained in:
parent
0e9169e44c
commit
f975f511ab
29
pkgs/development/python-modules/hiredis/default.nix
Normal file
29
pkgs/development/python-modules/hiredis/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -3423,6 +3423,8 @@ in {
|
|||||||
|
|
||||||
hetzner = callPackage ../development/python-modules/hetzner { };
|
hetzner = callPackage ../development/python-modules/hetzner { };
|
||||||
|
|
||||||
|
hiredis = callPackage ../development/python-modules/hiredis { };
|
||||||
|
|
||||||
homeassistant-pyozw = callPackage ../development/python-modules/homeassistant-pyozw { };
|
homeassistant-pyozw = callPackage ../development/python-modules/homeassistant-pyozw { };
|
||||||
|
|
||||||
htmllaundry = callPackage ../development/python-modules/htmllaundry { };
|
htmllaundry = callPackage ../development/python-modules/htmllaundry { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user