nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at r-updates 49 lines 1.2 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 elasticsearch, 5 fetchPypi, 6 python-dateutil, 7 setuptools, 8 typing-extensions, 9}: 10 11buildPythonPackage rec { 12 pname = "elasticsearch-dsl"; 13 version = "8.18.0"; 14 pyproject = true; 15 16 src = fetchPypi { 17 pname = "elasticsearch_dsl"; 18 inherit version; 19 hash = "sha256-djRl26nq4Wat0QVn6STGVzCqEigZsIv+mgd+kbE7MNE="; 20 }; 21 22 build-system = [ setuptools ]; 23 24 dependencies = [ 25 elasticsearch 26 python-dateutil 27 typing-extensions 28 ]; 29 30 optional-dependencies = { 31 async = [ elasticsearch ] ++ elasticsearch.optional-dependencies.async; 32 }; 33 34 # ImportError: No module named test_elasticsearch_dsl 35 # Tests require a local instance of elasticsearch 36 doCheck = false; 37 38 meta = { 39 description = "High level Python client for Elasticsearch"; 40 longDescription = '' 41 Elasticsearch DSL is a high-level library whose aim is to help with 42 writing and running queries against Elasticsearch. It is built on top of 43 the official low-level client (elasticsearch-py). 44 ''; 45 homepage = "https://github.com/elasticsearch/elasticsearch-dsl-py"; 46 changelog = "https://github.com/elastic/elasticsearch-dsl-py/blob/v${version}/Changelog.rst"; 47 license = lib.licenses.asl20; 48 }; 49}