python311Packages.microsoft-kiota-serialization-json: init at 1.0.0
JSON serialization implementation for Kiota clients in Python https://github.com/microsoft/kiota-serialization-json-python
This commit is contained in:
parent
bc2af6e072
commit
286cafa535
@ -0,0 +1,58 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, flit-core
|
||||||
|
, microsoft-kiota-abstractions
|
||||||
|
, pendulum
|
||||||
|
, pytest-asyncio
|
||||||
|
, pytest-mock
|
||||||
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "kiota-serialization-json";
|
||||||
|
version = "1.0.0";
|
||||||
|
pyproject = true;
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.8";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "microsoft";
|
||||||
|
repo = "kiota-serialization-json-python";
|
||||||
|
rev = "refs/tags/v${version}";
|
||||||
|
hash = "sha256-DhuDIRTm6xATnXpQ+xLpMuaBcWxZHdr8dO1Rl8OvCKQ=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
flit-core
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
microsoft-kiota-abstractions
|
||||||
|
pendulum
|
||||||
|
];
|
||||||
|
|
||||||
|
nativeCheckInputs = [
|
||||||
|
pytest-asyncio
|
||||||
|
pytest-mock
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"kiota_serialization_json"
|
||||||
|
];
|
||||||
|
|
||||||
|
disabledTests = [
|
||||||
|
# Test compare an output format
|
||||||
|
"test_parse_union_type_complex_property1"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "JSON serialization implementation for Kiota clients in Python";
|
||||||
|
homepage = "https://github.com/microsoft/kiota-serialization-json-python";
|
||||||
|
changelog = "https://github.com/microsoft/kiota-serialization-json-python/blob/${version}/CHANGELOG.md";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
|
};
|
||||||
|
}
|
@ -7186,6 +7186,8 @@ self: super: with self; {
|
|||||||
|
|
||||||
microsoft-kiota-http = callPackage ../development/python-modules/microsoft-kiota-http { };
|
microsoft-kiota-http = callPackage ../development/python-modules/microsoft-kiota-http { };
|
||||||
|
|
||||||
|
microsoft-kiota-serialization-json = callPackage ../development/python-modules/microsoft-kiota-serialization-json { };
|
||||||
|
|
||||||
midiutil = callPackage ../development/python-modules/midiutil { };
|
midiutil = callPackage ../development/python-modules/midiutil { };
|
||||||
|
|
||||||
mido = callPackage ../development/python-modules/mido { };
|
mido = callPackage ../development/python-modules/mido { };
|
||||||
|
Loading…
Reference in New Issue
Block a user