Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.5 kB · 62 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263{ lib, buildPythonPackage, fetchFromGitHub, poetry-core, opentelemetry-api, opentelemetry-sdk, pytest-asyncio, pytest-mock, pytestCheckHook, pythonOlder, std-uritemplate,}:
buildPythonPackage rec { pname = "microsoft-kiota-abstractions"; version = "1.9.3"; pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub { owner = "microsoft"; repo = "kiota-python"; tag = "microsoft-kiota-abstractions-v${version}"; hash = "sha256-FUfVkJbpD0X7U7DPzyoh+84Bk7C07iLT9dmbUeliFu8="; };
sourceRoot = "${src.name}/packages/abstractions/";
build-system = [ poetry-core ];
dependencies = [ opentelemetry-api opentelemetry-sdk std-uritemplate ];
nativeCheckInputs = [ pytest-asyncio pytest-mock pytestCheckHook ];
disabledTests = [ # ValueError: Illegal class passed as substitution, found <class 'datetime.datetime'> at col: 39 "test_sets_datetime_values_in_path_parameters" ];
pythonImportsCheck = [ "kiota_abstractions" ];
# detects the wrong tag on the repo passthru.skipBulkUpdate = true;
meta = with lib; { description = "Abstractions library for Kiota generated Python clients"; homepage = "https://github.com/microsoft/kiota-python/tree/main/packages/abstractions/"; changelog = "https://github.com/microsoft/kiota-python/releases/tag/microsoft-kiota-abstractions-${src.tag}"; license = licenses.mit; maintainers = with maintainers; [ fab ]; };}