2024-04-21 15:54:59 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
flit-core,
|
|
|
|
microsoft-kiota-abstractions,
|
|
|
|
pytest-asyncio,
|
|
|
|
pendulum,
|
|
|
|
pytest-mock,
|
|
|
|
pytestCheckHook,
|
|
|
|
pythonOlder,
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "microsoft-kiota-serialization-form";
|
2024-09-19 14:19:46 +00:00
|
|
|
version = "0.1.1";
|
2024-04-21 15:54:59 +00:00
|
|
|
pyproject = true;
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "microsoft";
|
|
|
|
repo = "kiota-serialization-form-python";
|
|
|
|
rev = "refs/tags/v${version}";
|
2024-09-19 14:19:46 +00:00
|
|
|
hash = "sha256-yOdrqj8QPz497VWS4427zDRRFc/S5654JeYkO1ZcUcQ=";
|
2024-04-21 15:54:59 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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";
|
2024-09-19 14:19:46 +00:00
|
|
|
changelog = "https://github.com/microsoft/kiota-serialization-form-python/blob/v${version}/CHANGELOG.md";
|
2024-04-21 15:54:59 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|