diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2018-09-24 20:40:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-24 20:40:21 +0100 |
commit | 725b57ba11e3e08c71cc4e754b63a72b512a88bd (patch) | |
tree | 02c7c6cc580335d684931ee9fab37911d524ebee /pkgs/development/python-modules | |
parent | f705ee21f6a18c10cff4679142d3d0dc95415daa (diff) | |
parent | 18c7fbd78d9fe2f01b7c1d1ca03bb053b7ff4604 (diff) | |
download | nixpkgs-725b57ba11e3e08c71cc4e754b63a72b512a88bd.tar nixpkgs-725b57ba11e3e08c71cc4e754b63a72b512a88bd.tar.gz nixpkgs-725b57ba11e3e08c71cc4e754b63a72b512a88bd.tar.bz2 nixpkgs-725b57ba11e3e08c71cc4e754b63a72b512a88bd.tar.lz nixpkgs-725b57ba11e3e08c71cc4e754b63a72b512a88bd.tar.xz nixpkgs-725b57ba11e3e08c71cc4e754b63a72b512a88bd.tar.zst nixpkgs-725b57ba11e3e08c71cc4e754b63a72b512a88bd.zip |
Merge pull request #47283 from flokli/elasticsearch-dsl-6.2.1
pythonPackages.elasticsearch-dsl: 0.0.9 -> 6.2.1
Diffstat (limited to 'pkgs/development/python-modules')
-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 00000000000..94d47073764 --- /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 ]; + }; +} |