Files
nixpkgs/pkgs/development/python-modules/django-scim2/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

54 lines
985 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
poetry-core,
# propagates
django,
scim2-filter-parser,
# tests
mock,
pytest-django,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "django-scim2";
version = "0.20.0";
pyproject = true;
src = fetchFromGitHub {
owner = "15five";
repo = "django-scim2";
tag = version;
hash = "sha256-OsfC6Jc/oQl6nzy3Nr3vkY+XicRxUoV62hK8MHa3LJ8=";
};
build-system = [ poetry-core ];
dependencies = [
django
scim2-filter-parser
];
pythonImportsCheck = [ "django_scim" ];
nativeCheckInputs = [
mock
pytest-django
pytestCheckHook
];
meta = {
changelog = "https://github.com/15five/django-scim2/blob/${src.tag}/CHANGES.txt";
description = "SCIM 2.0 Service Provider Implementation (for Django)";
homepage = "https://github.com/15five/django-scim2";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ s1341 ];
};
}