Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.3 kB · 52 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253{ lib, buildPythonPackage, elasticsearch, fetchPypi, python-dateutil, pythonOlder, setuptools, typing-extensions,}:
buildPythonPackage rec { pname = "elasticsearch-dsl"; version = "8.18.0"; pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi { pname = "elasticsearch_dsl"; inherit version; hash = "sha256-djRl26nq4Wat0QVn6STGVzCqEigZsIv+mgd+kbE7MNE="; };
build-system = [ setuptools ];
dependencies = [ elasticsearch python-dateutil typing-extensions ];
optional-dependencies = { async = [ elasticsearch ] ++ elasticsearch.optional-dependencies.async; };
# ImportError: No module named test_elasticsearch_dsl # Tests require a local instance of elasticsearch doCheck = false;
meta = with 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"; changelog = "https://github.com/elastic/elasticsearch-dsl-py/blob/v${version}/Changelog.rst"; license = licenses.asl20; };}