Files
nixpkgs/pkgs/development/python-modules/microsoft-kiota-serialization-form/default.nix
T

53 lines
1.2 KiB
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
microsoft-kiota-abstractions,
pytest-asyncio,
pendulum,
pytest-mock,
pytestCheckHook,
pythonOlder,
}:
buildPythonPackage rec {
pname = "microsoft-kiota-serialization-form";
version = "1.9.3";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "microsoft";
repo = "kiota-python";
tag = "microsoft-kiota-serialization-form-v${version}";
hash = "sha256-FUfVkJbpD0X7U7DPzyoh+84Bk7C07iLT9dmbUeliFu8=";
};
sourceRoot = "source/packages/serialization/form/";
build-system = [ poetry-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-python/tree/main/packages/serialization/form";
changelog = "https://github.com/microsoft/kiota-python/releases/tag/microsoft-kiota-serialization-form-${src.tag}";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}