python3Packages.scim2-client: init at 0.5.1
This commit is contained in:
committed by
Valentin Gagarin
parent
57677a95ed
commit
fb60b7928a
@@ -0,0 +1,64 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
pythonOlder,
|
||||
fetchPypi,
|
||||
hatchling,
|
||||
scim2-models,
|
||||
pytestCheckHook,
|
||||
portpicker,
|
||||
pytest-httpserver,
|
||||
pytest-asyncio,
|
||||
scim2-server,
|
||||
httpx,
|
||||
werkzeug,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "scim2-client";
|
||||
version = "0.5.1";
|
||||
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit version;
|
||||
pname = "scim2_client";
|
||||
hash = "sha256-g2RR+Ruvjw88cGHcwEPoktTmB8VcWAPnea3BErS8JyI=";
|
||||
};
|
||||
|
||||
build-system = [ hatchling ];
|
||||
|
||||
dependencies = [ scim2-models ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
portpicker
|
||||
pytest-httpserver
|
||||
pytest-asyncio
|
||||
scim2-server
|
||||
werkzeug
|
||||
] ++ 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 ];
|
||||
};
|
||||
}
|
||||
@@ -14528,6 +14528,8 @@ self: super: with self; {
|
||||
|
||||
scienceplots = callPackage ../development/python-modules/scienceplots { };
|
||||
|
||||
scim2-client = callPackage ../development/python-modules/scim2-client { };
|
||||
|
||||
scim2-filter-parser = callPackage ../development/python-modules/scim2-filter-parser { };
|
||||
|
||||
scim2-models = callPackage ../development/python-modules/scim2-models { };
|
||||
|
||||
Reference in New Issue
Block a user