python3Packages.pytest-scim2-server: init at 0.1.2

This commit is contained in:
Kerstin Humm
2025-05-05 13:09:13 +03:00
committed by Florian Klink
parent 27d2ca5690
commit eacd5b9415
2 changed files with 51 additions and 0 deletions
@@ -0,0 +1,49 @@
{
lib,
buildPythonPackage,
fetchPypi,
hatchling,
portpicker,
pytest,
scim2-server,
pytestCheckHook,
scim2-client,
cacert,
}:
buildPythonPackage rec {
pname = "pytest-scim2-server";
version = "0.1.2";
pyproject = true;
# Pypi doesn't link a VCS repository
src = fetchPypi {
pname = "pytest_scim2_server";
inherit version;
hash = "sha256-uWWFqkloTkvtIfpBNy93fa+c+b/FATjwytLKRde4bHg=";
};
build-system = [ hatchling ];
dependencies = [
portpicker
pytest
scim2-server
];
nativeCheckInputs = [
pytestCheckHook
scim2-client
] ++ scim2-client.optional-dependencies.httpx;
env.SSL_CERT_FILE = "${cacert}/etc/ssl/certs/ca-bundle.crt";
pythonImportsCheck = [ "pytest_scim2_server" ];
meta = {
homepage = "https://pypi.org/project/pytest-scim2-server";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ erictapen ];
};
}
+2
View File
@@ -13786,6 +13786,8 @@ self: super: with self; {
pytest-ruff = callPackage ../development/python-modules/pytest-ruff { };
pytest-scim2-server = callPackage ../development/python-modules/pytest-scim2-server { };
pytest-selenium = callPackage ../development/python-modules/pytest-selenium { };
pytest-server-fixtures = callPackage ../development/python-modules/pytest-server-fixtures { };