nixpkgs/pkgs/development/python-modules/elasticsearch-dsl/default.nix
volth f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00

39 lines
1.0 KiB
Nix

{ stdenv
, buildPythonPackage
, fetchPypi
, isPy3k
, elasticsearch
, ipaddress
, python-dateutil
, six
}:
buildPythonPackage rec {
pname = "elasticsearch-dsl";
version = "7.0.0";
src = fetchPypi {
inherit pname version;
sha256 = "08kgpcf6lp8gjan6dvdx35340i4yqa77klapk8j7165svfjc5v9a";
};
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 ];
};
}