infrastructure/machines/vault01/k-radius/packages/pykanidm.nix

44 lines
793 B
Nix
Raw Normal View History

{
lib,
2024-04-08 22:42:59 +02:00
buildPythonPackage,
fetchFromGitHub,
2024-04-08 22:42:59 +02:00
poetry-core,
aiohttp,
authlib,
pydantic,
2024-04-08 22:42:59 +02:00
toml,
}:
2023-12-03 17:35:07 +01:00
2024-04-08 22:42:59 +02:00
buildPythonPackage rec {
2023-12-03 17:35:07 +01:00
pname = "kanidm";
2024-04-08 22:42:59 +02:00
version = "1.1.0-rc.16";
pyproject = true;
src = fetchFromGitHub {
owner = "kanidm";
repo = "kanidm";
rev = "v${version}";
hash = "sha256-NH9V5KKI9LAtJ2/WuWtUJUzkjVMfO7Q5NQkK7Ys2olU=";
};
2023-12-03 17:35:07 +01:00
2024-04-08 22:42:59 +02:00
sourceRoot = "source/pykanidm";
2023-12-03 17:35:07 +01:00
2024-04-08 22:42:59 +02:00
build-system = [ poetry-core ];
2023-12-03 17:35:07 +01:00
2024-04-08 22:42:59 +02:00
dependencies = [
aiohttp
2024-04-08 22:42:59 +02:00
authlib
pydantic
toml
];
2023-12-03 17:35:07 +01:00
pythonImportsCheck = [ "kanidm" ];
meta = with lib; {
2024-04-08 22:42:59 +02:00
description = "Kanidm: A simple, secure and fast identity management platform";
homepage = "https://github.com/kanidm/kanidm";
2023-12-03 17:35:07 +01:00
license = licenses.mpl20;
2024-04-08 22:42:59 +02:00
maintainers = with maintainers; [ thubrecht ];
2023-12-03 17:35:07 +01:00
};
}