summaryrefslogtreecommitdiffstats
path: root/pkgs/development/python-modules/django-scim2/default.nix
blob: 041030a23259a95184a610819f44e2783a7db7c8 (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
{ lib
, buildPythonPackage
, fetchFromGitHub

# propagates
, django
, dateutil
, scim2-filter-parser
, gssapi
, ldap
, sssd

# tests
, mock
}:

buildPythonPackage rec {
  pname = "django-scim2";
  version = "0.17.3";
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "15five";
    repo = pname;
    rev = "refs/tags/${version}";
    hash = "sha256-5zdGPpjooiFoj+2OoglXhhKsPFB/KOHvrZWZd+1nZqU=";
  };

  propagatedBuildInputs = [
    django
    dateutil
    scim2-filter-parser
    gssapi
    ldap
    sssd
  ];

  pythonImportsCheck = [
    "django_scim"
  ];

  checkInputs = [
    mock
  ];

  meta = with lib; {
    description = "A SCIM 2.0 Service Provider Implementation (for Django)";
    homepage = "https://github.com/15five/django-scim2";
    license = licenses.mit;
    maintainers = with maintainers; [ s1341 ];
  };
}