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:
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 { };
|
||||
|
||||
hiredis = callPackage ../development/python-modules/hiredis { };
|
||||
|
||||
homeassistant-pyozw = callPackage ../development/python-modules/homeassistant-pyozw { };
|
||||
|
||||
htmllaundry = callPackage ../development/python-modules/htmllaundry { };
|
||||
|
|
Loading…
Reference in a new issue