diff options
author | Florian Klink <flokli@flokli.de> | 2018-09-24 19:07:30 +0200 |
---|---|---|
committer | Florian Klink <flokli@flokli.de> | 2018-09-24 21:08:31 +0200 |
commit | 18c7fbd78d9fe2f01b7c1d1ca03bb053b7ff4604 (patch) | |
tree | d0ac3c59312c0f75af5abfa4114b2720b00c94cc /pkgs/development/python-modules/elasticsearch-dsl | |
parent | f753852e11d72c05cb74d1058ea8b7f6d5dd4748 (diff) |
pythonPackages.elasticsearch-dsl: 0.0.9 -> 6.2.1
Diffstat (limited to 'pkgs/development/python-modules/elasticsearch-dsl')
-rw-r--r-- | pkgs/development/python-modules/elasticsearch-dsl/default.nix | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/elasticsearch-dsl/default.nix b/pkgs/development/python-modules/elasticsearch-dsl/default.nix new file mode 100644 index 0000000000000..94d47073764e5 --- /dev/null +++ b/pkgs/development/python-modules/elasticsearch-dsl/default.nix @@ -0,0 +1,39 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +, isPy3k +, elasticsearch +, ipaddress +, python-dateutil +, pytz +, six +}: + +buildPythonPackage rec { + pname = "elasticsearch-dsl"; + version = "6.2.1"; + + src = fetchPypi { + inherit pname version; + sha256 = "0f0w23kzyym0fkzisdkcl4xpnm8fsi97v1kskyvfrhj3mxy179fh"; + }; + + 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 ]; + }; +} |