Skip to content

Commit

Permalink
python3Packages.scim2-tester: init at 0.1.13
Browse files Browse the repository at this point in the history
  • Loading branch information
erictapen committed Jan 3, 2025
1 parent f1a5d50 commit 41b0fca
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 0 deletions.
50 changes: 50 additions & 0 deletions pkgs/development/python-modules/scim2-tester/default.nix
Original file line number Diff line number Diff line change
@@ -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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 { };
Expand Down

0 comments on commit 41b0fca

Please sign in to comment.