Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.7 kB · 86 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687{ lib, buildPythonPackage, fetchFromGitHub,
# build-system setuptools,
# dependencies certifi, python-dateutil, requests, six, urllib3, events,
# optional-dependencies aiohttp,
# tests botocore, mock, pytest-asyncio, pytest-mock, pytestCheckHook, pyyaml, pytz,}:
buildPythonPackage rec { pname = "opensearch-py"; version = "2.6.0"; pyproject = true;
src = fetchFromGitHub { owner = "opensearch-project"; repo = "opensearch-py"; rev = "refs/tags/v${version}"; hash = "sha256-qpay0EDD99MzxDMkjk3hU/34rxLD71PM8zdcIcHj/0Q="; };
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ certifi python-dateutil requests six urllib3 events ];
passthru.optional-dependencies.async = [ aiohttp ];
nativeCheckInputs = [ botocore mock pytest-asyncio pytest-mock pytestCheckHook pyyaml pytz ] ++ passthru.optional-dependencies.async;
disabledTestPaths = [ # require network "test_opensearchpy/test_async/test_connection.py" "test_opensearchpy/test_async/test_server" "test_opensearchpy/test_server" "test_opensearchpy/test_server_secured" ];
disabledTests = [ # finds our ca-bundle, but expects something else (/path/to/clientcert/dir or None) "test_ca_certs_ssl_cert_dir" "test_no_ca_certs" ];
meta = { description = "Python low-level client for OpenSearch"; homepage = "https://github.com/opensearch-project/opensearch-py"; changelog = "https://github.com/opensearch-project/opensearch-py/releases/tag/v${version}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ mcwitt ]; };}