depot/third_party/nixpkgs/pkgs/development/python-modules/django-scim2/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

52 lines
879 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
# propagates
, django
, python-dateutil
, scim2-filter-parser
, gssapi
, python-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
python-dateutil
scim2-filter-parser
gssapi
python-ldap
sssd
];
pythonImportsCheck = [
"django_scim"
];
nativeCheckInputs = [
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 ];
};
}