1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 hatchling,
6 scim2-filter-parser,
7 scim2-models,
8 werkzeug,
9 pytestCheckHook,
10 httpx,
11 time-machine,
12}:
13
14buildPythonPackage rec {
15 pname = "scim2-server";
16 version = "0.1.7";
17
18 pyproject = true;
19
20 src = fetchPypi {
21 inherit version;
22 pname = "scim2_server";
23 hash = "sha256-nMS6vjMZ/Lyu0kiVH+IlmxZsuu7McY7AZS/xamfZSlk=";
24 };
25
26 build-system = [ hatchling ];
27
28 dependencies = [
29 scim2-filter-parser
30 scim2-models
31 werkzeug
32 ];
33
34 nativeCheckInputs = [
35 pytestCheckHook
36 httpx
37 time-machine
38 ];
39
40 pythonImportsCheck = [ "scim2_server" ];
41
42 meta = with lib; {
43 description = "Lightweight SCIM2 server prototype";
44 homepage = "https://github.com/python-scim/scim2-server";
45 changelog = "https://github.com/python-scim/scim2-server/releases/tag/${version}";
46 license = licenses.asl20;
47 maintainers = with maintainers; [ erictapen ];
48 };
49}