Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / elasticsearch-dsl / default.nix
blobe5bdc6571cc9c118b234fc87c8c4650dcb119e0d
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , elasticsearch
5 , python-dateutil
6 , six
7 }:
9 buildPythonPackage rec {
10   pname = "elasticsearch-dsl";
11   version = "8.9.0";
13   src = fetchPypi {
14     inherit pname version;
15     sha256 = "sha256-ZkEK34gfArigMuilsqPuCT/e7eS4FPvwTA9s4EmbdHI=";
16   };
18   propagatedBuildInputs = [ elasticsearch python-dateutil six ];
20   # ImportError: No module named test_elasticsearch_dsl
21   # Tests require a local instance of elasticsearch
22   doCheck = false;
24   meta = with lib; {
25     description = "High level Python client for Elasticsearch";
26     longDescription = ''
27       Elasticsearch DSL is a high-level library whose aim is to help with
28       writing and running queries against Elasticsearch. It is built on top of
29       the official low-level client (elasticsearch-py).
30     '';
31     homepage = "https://github.com/elasticsearch/elasticsearch-dsl-py";
32     license = licenses.asl20;
33     maintainers = with maintainers; [ desiderius ];
34   };