Files
nixpkgs/pkgs/development/python-modules/django-scim2/default.nix
T
Martin Weinelt 95344b5f01 python3Packages.django-scim2: 0.19.0 -> 0.20.0
https://github.com/15five/django-scim2/blob/0.20.0/CHANGES.txt

This commit was automatically generated using update-python-libraries.
2025-08-09 18:59:09 +02:00

61 lines
1.2 KiB
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=";
};
# remove this when upstream releases a new version > 0.19.0
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail "poetry>=0.12" "poetry-core>=1.5.2" \
--replace-fail "poetry.masonry.api" "poetry.core.masonry.api"
'';
build-system = [ poetry-core ];
dependencies = [
django
scim2-filter-parser
];
pythonImportsCheck = [ "django_scim" ];
nativeCheckInputs = [
mock
pytest-django
pytestCheckHook
];
meta = with lib; {
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 = licenses.mit;
maintainers = with maintainers; [ s1341 ];
};
}