78395c8a06
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/python3.7-elasticsearch-dsl/versions
39 lines
1 KiB
Nix
39 lines
1 KiB
Nix
{ stdenv
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, isPy3k
|
|
, elasticsearch
|
|
, ipaddress
|
|
, python-dateutil
|
|
, pytz
|
|
, six
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "elasticsearch-dsl";
|
|
version = "6.3.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1gh8a0shqi105k325hgwb9avrpdjh0mc6mxwfg9ba7g6lssb702z";
|
|
};
|
|
|
|
propagatedBuildInputs = [ elasticsearch python-dateutil six ]
|
|
++ stdenv.lib.optional (!isPy3k) ipaddress;
|
|
|
|
# ImportError: No module named test_elasticsearch_dsl
|
|
# Tests require a local instance of elasticsearch
|
|
doCheck = false;
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "High level Python client for Elasticsearch";
|
|
longDescription = ''
|
|
Elasticsearch DSL is a high-level library whose aim is to help with
|
|
writing and running queries against Elasticsearch. It is built on top of
|
|
the official low-level client (elasticsearch-py).
|
|
'';
|
|
homepage = https://github.com/elasticsearch/elasticsearch-dsl-py;
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ desiderius ];
|
|
};
|
|
}
|