nixpkgs/pkgs/development/python-modules/django-scim2/default.nix
Guillaume Girol 33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +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 ];
};
}