Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.2 kB · 52 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253{ lib, buildPythonPackage, fetchFromGitHub, poetry-core, microsoft-kiota-abstractions, pendulum, pytest-asyncio, pytest-mock, pytestCheckHook, pythonOlder,}:
buildPythonPackage rec { pname = "microsoft-kiota-serialization-json"; version = "1.9.5"; pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub { owner = "microsoft"; repo = "kiota-python"; tag = "microsoft-kiota-serialization-text-v${version}"; hash = "sha256-h0sZhBIGZyhzYtCvLHRAn73HspgyOAKU3p4xSn+uXFU="; };
sourceRoot = "${src.name}/packages/serialization/json/";
build-system = [ poetry-core ];
dependencies = [ microsoft-kiota-abstractions pendulum ];
nativeCheckInputs = [ pytest-asyncio pytest-mock pytestCheckHook ];
pythonImportsCheck = [ "kiota_serialization_json" ];
meta = with lib; { description = "JSON serialization implementation for Kiota clients in Python"; homepage = "https://github.com/microsoft/kiota-python/tree/main/packages/serialization/json"; changelog = "https://github.com/microsoft/kiota-python/releases/tag/microsoft-kiota-serialization-json-${src.tag}"; license = licenses.mit; maintainers = with maintainers; [ fab ]; };}