From bf580ab213f0c9cfd3ad8544ddbb20aec0df8dc2 Mon Sep 17 00:00:00 2001 From: Kerstin Humm Date: Fri, 3 Jan 2025 14:10:02 +0100 Subject: [PATCH] python3Packages.scim2-server: init at 0.1.2 --- .../python-modules/scim2-server/default.nix | 49 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 51 insertions(+) create mode 100644 pkgs/development/python-modules/scim2-server/default.nix diff --git a/pkgs/development/python-modules/scim2-server/default.nix b/pkgs/development/python-modules/scim2-server/default.nix new file mode 100644 index 000000000000..bd0bac6a1ddd --- /dev/null +++ b/pkgs/development/python-modules/scim2-server/default.nix @@ -0,0 +1,49 @@ +{ + lib, + buildPythonPackage, + fetchPypi, + hatchling, + scim2-filter-parser, + scim2-models, + werkzeug, + pytestCheckHook, + httpx, + time-machine, +}: + +buildPythonPackage rec { + pname = "scim2-server"; + version = "0.1.2"; + + pyproject = true; + + src = fetchPypi { + inherit version; + pname = "scim2_server"; + hash = "sha256-6MHQVo0vqJ/69iBz3GtH1f2YO/Vh/MORSkEETwy/9pE="; + }; + + build-system = [ hatchling ]; + + dependencies = [ + scim2-filter-parser + scim2-models + werkzeug + ]; + + nativeCheckInputs = [ + pytestCheckHook + httpx + time-machine + ]; + + pythonImportsCheck = [ "scim2_server" ]; + + meta = with lib; { + description = "Lightweight SCIM2 server prototype"; + homepage = "https://github.com/python-scim/scim2-server"; + changelog = "https://github.com/python-scim/scim2-server/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 609072b8d28b..fffa87505ede 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -14530,6 +14530,8 @@ self: super: with self; { scim2-models = callPackage ../development/python-modules/scim2-models { }; + scim2-server = callPackage ../development/python-modules/scim2-server { }; + scikit-bio = callPackage ../development/python-modules/scikit-bio { }; scikit-build = callPackage ../development/python-modules/scikit-build { };