Files
nixpkgs/pkgs/development/python-modules/scim2-client/default.nix
Martin Weinelt d16f2424a6 python3Packages.scim2-client: 0.5.2 -> 0.6.1
https://github.com/python-scim/scim2-client/releases/tag/0.6.1

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

68 lines
1.3 KiB
Nix

{
lib,
buildPythonPackage,
pythonOlder,
fetchPypi,
hatchling,
scim2-models,
pytestCheckHook,
portpicker,
pytest-httpserver,
pytest-asyncio,
scim2-server,
httpx,
werkzeug,
cacert,
}:
buildPythonPackage rec {
pname = "scim2-client";
version = "0.6.1";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchPypi {
inherit version;
pname = "scim2_client";
hash = "sha256-5XOUOKf0vYHkewY22x5NQdhICXCd+EftKhsxtQurgHQ=";
};
build-system = [ hatchling ];
dependencies = [ scim2-models ];
nativeCheckInputs = [
pytestCheckHook
portpicker
pytest-httpserver
pytest-asyncio
scim2-server
werkzeug
cacert
]
++ optional-dependencies.httpx;
# Werkzeug returns 500, didn't deem it worth it to investigate
disabledTests = [
"test_search_request"
"test_query_dont_check_request_payload"
];
pythonImportsCheck = [ "scim2_client" ];
optional-dependencies = {
httpx = [ httpx ];
werkzeug = [ werkzeug ];
};
meta = with lib; {
description = "Pythonically build SCIM requests and parse SCIM responses";
homepage = "https://scim2-client.readthedocs.io/";
changelog = "https://github.com/python-scim/scim2-client/releases/tag/${version}";
license = licenses.asl20;
maintainers = with maintainers; [ erictapen ];
};
}