forked from axeman/erpnext-nix
29 lines
500 B
Nix
29 lines
500 B
Nix
{ buildPythonPackage
|
|
, fetchPypi
|
|
, pythonRelaxDepsHook
|
|
, unittestCheckHook
|
|
, redis
|
|
, rejson
|
|
, hiredis
|
|
}:
|
|
buildPythonPackage rec {
|
|
pname = "redisearch";
|
|
version = "2.1.1";
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-V1rNWhOhB/8AXUVyoTa1A7Evpb8mr8N70R9qkj8exzw=";
|
|
};
|
|
nativeBuildInputs = [ pythonRelaxDepsHook ];
|
|
pythonRelaxDeps = [
|
|
"redis"
|
|
];
|
|
propagatedBuildInputs = [
|
|
redis
|
|
rejson
|
|
hiredis
|
|
];
|
|
nativeCheckInputs = [
|
|
unittestCheckHook
|
|
];
|
|
}
|