depot/third_party/nixpkgs/pkgs/development/python-modules/django-scim2/default.nix
Default email 6d4aeb4377 Project import generated by Copybara.
GitOrigin-RevId: 0f213d0fee84280d8c3a97f7469b988d6fe5fcdf
2023-01-11 08:51:40 +01:00

52 lines
873 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"
];
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 ];
};
}