diff --git a/pkgs/development/python-modules/scim2-tester/default.nix b/pkgs/development/python-modules/scim2-tester/default.nix new file mode 100644 index 0000000000000..2125a7706e868 --- /dev/null +++ b/pkgs/development/python-modules/scim2-tester/default.nix @@ -0,0 +1,50 @@ +{ + lib, + buildPythonPackage, + pythonOlder, + fetchPypi, + hatchling, + scim2-client, + pytestCheckHook, + werkzeug, + scim2-server, + pytest-httpserver, +}: + +buildPythonPackage rec { + pname = "scim2-tester"; + version = "0.1.13"; + + pyproject = true; + + disabled = pythonOlder "3.10"; + + src = fetchPypi { + inherit version; + pname = "scim2_tester"; + hash = "sha256-Jpfxyok46fRCW3aAOFb0BTEI++Ou5lob/0RsoXgzkxk="; + }; + + build-system = [ hatchling ]; + + dependencies = [ scim2-client ]; + + nativeCheckInputs = [ + pytestCheckHook + werkzeug + scim2-server + pytest-httpserver + ] ++ optional-dependencies.httpx; + + pythonImportsCheck = [ "scim2_tester" ]; + + optional-dependencies.httpx = scim2-client.optional-dependencies.httpx; + + meta = with lib; { + description = "SCIM RFCs server compliance checker"; + homepage = "https://scim2-tester.readthedocs.io/"; + changelog = "https://github.com/python-scim/scim2-tester/releases/tag/${version}"; + license = licenses.asl20; + maintainers = with maintainers; [ erictapen ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index c40d5c1e35382..20ce29d1c3a5a 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -14443,6 +14443,8 @@ self: super: with self; { scim2-server = callPackage ../development/python-modules/scim2-server { }; + scim2-tester = callPackage ../development/python-modules/scim2-tester { }; + scikit-bio = callPackage ../development/python-modules/scikit-bio { }; scikit-build = callPackage ../development/python-modules/scikit-build { };