Something went wrong. Try again.
lol
Something went wrong. Try again.
1.1 kB · 74 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475{ lib, buildPythonPackage, fetchPypi,
# build pdm-backend,
# propagates aiohttp, aiohttp-retry, authlib, pydantic, python-dateutil, toml, typing-extensions,
# tests openapi-spec-validator, pytest-asyncio, pytest-mock, pytestCheckHook,}:
buildPythonPackage rec { pname = "kanidm"; version = "1.3.0"; pyproject = true;
src = fetchPypi { inherit pname version; hash = "sha256-KlUxW/bJByQnzPdRd9Z5pStH27SpWrCijZc5jlVT5jE="; };
build-system = [ pdm-backend ];
dependencies = [ aiohttp aiohttp-retry authlib pydantic python-dateutil toml typing-extensions ];
nativeCheckInputs = [ openapi-spec-validator pytest-asyncio pytest-mock pytestCheckHook ];
disabledTests = [ "test_tokenstuff" ];
disabledTestMarks = [ "network" "openapi" ];
pythonImportsCheck = [ "kanidm" ];
meta = { description = "Kanidm client library"; homepage = "https://github.com/kanidm/kanidm/tree/master/pykanidm"; license = lib.licenses.mpl20; maintainers = with lib.maintainers; [ arianvp hexa ]; };}