nixpkgs/pkgs/development/python-modules/scim2-server/default.nix
Ihar Hrachyshka 567e8dfd8e
treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

49 lines
936 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
hatchling,
scim2-filter-parser,
scim2-models,
werkzeug,
pytestCheckHook,
httpx,
time-machine,
}:
buildPythonPackage rec {
pname = "scim2-server";
version = "0.1.7";
pyproject = true;
src = fetchPypi {
inherit version;
pname = "scim2_server";
hash = "sha256-nMS6vjMZ/Lyu0kiVH+IlmxZsuu7McY7AZS/xamfZSlk=";
};
build-system = [ hatchling ];
dependencies = [
scim2-filter-parser
scim2-models
werkzeug
];
nativeCheckInputs = [
pytestCheckHook
httpx
time-machine
];
pythonImportsCheck = [ "scim2_server" ];
meta = {
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 = lib.licenses.asl20;
maintainers = with lib.maintainers; [ erictapen ];
};
}