Commit eacd5b94 authored by Kerstin Humm's avatar Kerstin Humm Committed by Florian Klink
Browse files

python3Packages.pytest-scim2-server: init at 0.1.2

parent 27d2ca56
Loading
Loading
Loading
Loading
+49 −0
Original line number Diff line number Diff line
{
  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 −0
Original line number Diff line number Diff line
@@ -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 { };