python312Packages.microsoft-kiota-serialization-form: init at 0.1.0
Form serialization implementation for Kiota clients in Python https://github.com/microsoft/kiota-serialization-form-python
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
flit-core,
|
||||
microsoft-kiota-abstractions,
|
||||
pytest-asyncio,
|
||||
pendulum,
|
||||
pytest-mock,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "microsoft-kiota-serialization-form";
|
||||
version = "0.1.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "microsoft";
|
||||
repo = "kiota-serialization-form-python";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-ecFspbCaSkRoQTTeyZdqGpWSKiQJS6viDgBVNDHPo4g=";
|
||||
};
|
||||
|
||||
build-system = [ flit-core ];
|
||||
|
||||
dependencies = [
|
||||
microsoft-kiota-abstractions
|
||||
pendulum
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-asyncio
|
||||
pytest-mock
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "kiota_serialization_form" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Form serialization implementation for Kiota clients in Python";
|
||||
homepage = "https://github.com/microsoft/kiota-serialization-form-python";
|
||||
changelog = "https://github.com/microsoft/kiota-serialization-form-python/blob/${version}/CHANGELOG.md";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
@@ -7315,6 +7315,8 @@ self: super: with self; {
|
||||
|
||||
microsoft-kiota-http = callPackage ../development/python-modules/microsoft-kiota-http { };
|
||||
|
||||
microsoft-kiota-serialization-form = callPackage ../development/python-modules/microsoft-kiota-serialization-form { };
|
||||
|
||||
microsoft-kiota-serialization-json = callPackage ../development/python-modules/microsoft-kiota-serialization-json { };
|
||||
|
||||
microsoft-kiota-serialization-multipart = callPackage ../development/python-modules/microsoft-kiota-serialization-multipart { };
|
||||
|
||||
Reference in New Issue
Block a user