Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.2 kB · 56 lines
Nix
at llvm-cleanup
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657{ lib, buildPythonPackage, fetchFromGitHub, flit-core, httpx, microsoft-kiota-abstractions, opentelemetry-api, opentelemetry-sdk, pytest-asyncio, pytest-mock, pytestCheckHook, pythonOlder, urllib3,}:
buildPythonPackage rec { pname = "microsoft-kiota-http"; version = "1.3.1"; pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub { owner = "microsoft"; repo = "kiota-http-python"; rev = "refs/tags/v${version}"; hash = "sha256-I16WARk6YBr8KgE9MtHcA5VdsnLXBKcZOaqRL/eqwKE="; };
build-system = [ flit-core ];
dependencies = [ httpx microsoft-kiota-abstractions opentelemetry-api opentelemetry-sdk ] ++ httpx.optional-dependencies.http2;
nativeCheckInputs = [ pytest-asyncio pytest-mock pytestCheckHook urllib3 ];
pythonImportsCheck = [ "kiota_http" ];
meta = with lib; { description = "HTTP request adapter implementation for Kiota clients for Python"; homepage = "https://github.com/microsoft/kiota-http-python"; changelog = "https://github.com/microsoft/kiota-http-python/blob/${version}/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ fab ]; };}