blob: cebb9937e102e0d1659641a6e9ad306c65cf2f23 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
microsoft-kiota-abstractions,
pendulum,
pytest-asyncio,
pytest-mock,
pytestCheckHook,
gitUpdater,
}:
buildPythonPackage rec {
pname = "microsoft-kiota-serialization-json";
version = "1.9.8";
pyproject = true;
src = fetchFromGitHub {
owner = "microsoft";
repo = "kiota-python";
tag = "microsoft-kiota-serialization-json-v${version}";
hash = "sha256-05/I06p3zBc/Kb7H8dMEbUxFr0dOXSSBuIyEGZ4twhA=";
};
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" ];
passthru.updateScript = gitUpdater {
rev-prefix = "microsoft-kiota-serialization-json-v";
};
meta = {
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 = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
|