1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5
6 # build-system
7 poetry-core,
8
9 # propagates
10 django,
11 scim2-filter-parser,
12
13 # tests
14 mock,
15 pytest-django,
16 pytestCheckHook,
17}:
18
19buildPythonPackage rec {
20 pname = "django-scim2";
21 version = "0.20.0";
22 pyproject = true;
23
24 src = fetchFromGitHub {
25 owner = "15five";
26 repo = "django-scim2";
27 tag = version;
28 hash = "sha256-OsfC6Jc/oQl6nzy3Nr3vkY+XicRxUoV62hK8MHa3LJ8=";
29 };
30
31 build-system = [ poetry-core ];
32
33 dependencies = [
34 django
35 scim2-filter-parser
36 ];
37
38 pythonImportsCheck = [ "django_scim" ];
39
40 nativeCheckInputs = [
41 mock
42 pytest-django
43 pytestCheckHook
44 ];
45
46 meta = with lib; {
47 changelog = "https://github.com/15five/django-scim2/blob/${src.tag}/CHANGES.txt";
48 description = "SCIM 2.0 Service Provider Implementation (for Django)";
49 homepage = "https://github.com/15five/django-scim2";
50 license = licenses.mit;
51 maintainers = with maintainers; [ s1341 ];
52 };
53}