2023-06-05 17:19:43 +00:00
|
|
|
{ buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pythonRelaxDepsHook
|
|
|
|
, unittestCheckHook
|
|
|
|
, redis
|
|
|
|
, rejson
|
|
|
|
, hiredis
|
2023-05-18 13:57:22 +00:00
|
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "redisearch";
|
|
|
|
version = "2.1.1";
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "sha256-V1rNWhOhB/8AXUVyoTa1A7Evpb8mr8N70R9qkj8exzw=";
|
|
|
|
};
|
2023-06-05 17:19:43 +00:00
|
|
|
nativeBuildInputs = [ pythonRelaxDepsHook ];
|
|
|
|
pythonRelaxDeps = [
|
|
|
|
"redis"
|
|
|
|
];
|
2023-05-18 13:57:22 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
redis
|
|
|
|
rejson
|
|
|
|
hiredis
|
|
|
|
];
|
2023-06-05 17:19:43 +00:00
|
|
|
nativeCheckInputs = [
|
|
|
|
unittestCheckHook
|
|
|
|
];
|
2023-05-18 13:57:22 +00:00
|
|
|
}
|