2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
flask,
|
|
|
|
elasticsearch,
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2023-10-09 19:29:22 +00:00
|
|
|
pname = "flask-elastic";
|
2020-04-24 23:36:52 +00:00
|
|
|
version = "0.2";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
2023-10-09 19:29:22 +00:00
|
|
|
pname = "Flask-Elastic";
|
|
|
|
inherit version;
|
|
|
|
hash = "sha256-XwGm/FQbXSV2qbAlHyAbT4DLcQnIseDm1Qqdb5zjE0M=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
flask
|
|
|
|
elasticsearch
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
doCheck = false; # no tests
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Integrates official client for Elasticsearch into Flask";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = [ maintainers.mic92 ];
|
|
|
|
homepage = "https://github.com/marceltschoppch/flask-elastic";
|
|
|
|
};
|
|
|
|
}
|