pythonPackages.elasticsearch-dsl: 0.0.9 -> 6.2.1
This commit is contained in:
parent
f753852e11
commit
18c7fbd78d
@ -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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -2197,27 +2197,9 @@ in {
|
|||||||
|
|
||||||
elasticsearch = callPackage ../development/python-modules/elasticsearch { };
|
elasticsearch = callPackage ../development/python-modules/elasticsearch { };
|
||||||
|
|
||||||
elasticsearchdsl = buildPythonPackage (rec {
|
elasticsearch-dsl = callPackage ../development/python-modules/elasticsearch-dsl { };
|
||||||
name = "elasticsearch-dsl-0.0.9";
|
# alias
|
||||||
|
elasticsearchdsl = self.elasticsearch-dsl;
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/e/elasticsearch-dsl/${name}.tar.gz";
|
|
||||||
sha256 = "1gdcdshk881vy18p0czcmbb3i4s5hl8llnfg6961b6x7jkvhihbj";
|
|
||||||
};
|
|
||||||
|
|
||||||
buildInputs = with self; [ covCore dateutil elasticsearch mock pytest pytestcov unittest2 urllib3 pytz ];
|
|
||||||
|
|
||||||
# ImportError: No module named test_elasticsearch_dsl
|
|
||||||
# Tests require a local instance of elasticsearch
|
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "Python client for Elasticsearch";
|
|
||||||
homepage = https://github.com/elasticsearch/elasticsearch-dsl-py;
|
|
||||||
license = licenses.asl20;
|
|
||||||
maintainers = with maintainers; [ desiderius ];
|
|
||||||
};
|
|
||||||
});
|
|
||||||
|
|
||||||
elasticsearch-curator = callPackage ../development/python-modules/elasticsearch-curator { };
|
elasticsearch-curator = callPackage ../development/python-modules/elasticsearch-curator { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user