1{ buildPythonPackage
2, fetchPypi
3, urllib3, requests
4, nosexcover, mock
5, stdenv
6}:
7
8buildPythonPackage (rec {
9 pname = "elasticsearch";
10 version = "6.1.1";
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "8d91a3fce12123a187b673f18c23bcffa6e7b49ba057555d59eeeded0ba15dce";
15 };
16
17 # Check is disabled because running them destroy the content of the local cluster!
18 # https://github.com/elasticsearch/elasticsearch-py/tree/master/test_elasticsearch
19 doCheck = false;
20 propagatedBuildInputs = [ urllib3 requests ];
21 buildInputs = [ nosexcover mock ];
22
23 meta = with stdenv.lib; {
24 description = "Official low-level client for Elasticsearch";
25 homepage = https://github.com/elasticsearch/elasticsearch-py;
26 license = licenses.asl20;
27 maintainers = with maintainers; [ desiderius ];
28 };
29})