python3Packages.scim2-models: init at 0.3.0

This commit is contained in:
Kerstin Humm 2025-01-03 13:00:54 +01:00 committed by Valentin Gagarin
parent 24c7fbd52d
commit f179ad8ca7
2 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,40 @@
{
lib,
buildPythonPackage,
pythonOlder,
fetchPypi,
hatchling,
pydantic,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "scim2-models";
version = "0.3.0";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchPypi {
inherit version;
pname = "scim2_models";
hash = "sha256-odtiOF54IOZ8lP11gkaBU5frOzvRvKeXoqPvNG6B2Cc=";
};
build-system = [ hatchling ];
dependencies = [ pydantic ] ++ pydantic.optional-dependencies.email;
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "scim2_models" ];
meta = with lib; {
description = "SCIM2 models serialization and validation with pydantic";
homepage = "https://github.com/python-scim/scim2-models";
changelog = "https://github.com/python-scim/scim2-models/releases/tag/${version}";
license = licenses.asl20;
maintainers = with maintainers; [ erictapen ];
};
}

View File

@ -14528,6 +14528,8 @@ self: super: with self; {
scim2-filter-parser = callPackage ../development/python-modules/scim2-filter-parser { };
scim2-models = callPackage ../development/python-modules/scim2-models { };
scikit-bio = callPackage ../development/python-modules/scikit-bio { };
scikit-build = callPackage ../development/python-modules/scikit-build { };