mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-14 01:26:32 +01:00
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>
49 lines
936 B
Nix
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 ];
|
|
};
|
|
}
|