2024-12-12 14:41:43 +01:00
|
|
|
# SPDX-FileCopyrightText: 2024 Tom Hubrecht <tom.hubrecht@dgnum.eu>
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: EUPL-1.2
|
|
|
|
|
2024-02-02 10:51:31 +01:00
|
|
|
{
|
|
|
|
lib,
|
2024-04-08 22:42:59 +02:00
|
|
|
buildPythonPackage,
|
2024-02-02 10:51:31 +01:00
|
|
|
fetchFromGitHub,
|
2024-04-08 22:42:59 +02:00
|
|
|
poetry-core,
|
|
|
|
aiohttp,
|
|
|
|
authlib,
|
2024-02-02 10:51:31 +01:00
|
|
|
pydantic,
|
2024-04-08 22:42:59 +02:00
|
|
|
toml,
|
2024-02-02 10:51:31 +01:00
|
|
|
}:
|
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 = [
|
2024-02-02 10:51:31 +01:00
|
|
|
aiohttp
|
2024-04-08 22:42:59 +02:00
|
|
|
authlib
|
2024-02-02 10:51:31 +01:00
|
|
|
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
|
|
|
};
|
|
|
|
}
|