2022-07-18 16:21:45 +00:00
|
|
|
{ lib
|
|
|
|
, python3
|
2024-04-21 15:54:59 +00:00
|
|
|
, fetchFromGitHub
|
2022-07-18 16:21:45 +00:00
|
|
|
}:
|
|
|
|
|
2023-05-24 13:37:59 +00:00
|
|
|
python3.pkgs.buildPythonApplication rec {
|
2022-07-18 16:21:45 +00:00
|
|
|
pname = "strictdoc";
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "0.0.54";
|
2024-02-29 20:09:43 +00:00
|
|
|
pyproject = true;
|
2022-07-18 16:21:45 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "strictdoc-project";
|
2024-02-29 20:09:43 +00:00
|
|
|
repo = "strictdoc";
|
2023-05-24 13:37:59 +00:00
|
|
|
rev = "refs/tags/${version}";
|
2024-05-15 15:35:15 +00:00
|
|
|
hash = "sha256-gsZgvT3bSHxxFLhEqlHjoRZiYZwyFr377CGYWYOssyM=";
|
2022-07-18 16:21:45 +00:00
|
|
|
};
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
python3.pkgs.hatchling
|
|
|
|
python3.pkgs.pythonRelaxDepsHook
|
2022-07-18 16:21:45 +00:00
|
|
|
];
|
|
|
|
|
2023-05-24 13:37:59 +00:00
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
2022-07-18 16:21:45 +00:00
|
|
|
beautifulsoup4
|
|
|
|
docutils
|
2023-05-24 13:37:59 +00:00
|
|
|
fastapi
|
2024-04-21 15:54:59 +00:00
|
|
|
graphviz
|
2023-05-24 13:37:59 +00:00
|
|
|
html5lib
|
2022-07-18 16:21:45 +00:00
|
|
|
jinja2
|
|
|
|
lxml
|
2023-05-24 13:37:59 +00:00
|
|
|
pybtex
|
2022-07-18 16:21:45 +00:00
|
|
|
pygments
|
2024-04-21 15:54:59 +00:00
|
|
|
datauri
|
2023-05-24 13:37:59 +00:00
|
|
|
python-multipart
|
2024-02-29 20:09:43 +00:00
|
|
|
selenium
|
2024-04-21 15:54:59 +00:00
|
|
|
requests
|
2024-02-29 20:09:43 +00:00
|
|
|
spdx-tools
|
2024-04-21 15:54:59 +00:00
|
|
|
webdriver-manager
|
|
|
|
reqif
|
|
|
|
setuptools
|
2022-07-18 16:21:45 +00:00
|
|
|
textx
|
2023-05-24 13:37:59 +00:00
|
|
|
toml
|
|
|
|
uvicorn
|
|
|
|
websockets
|
2022-07-18 16:21:45 +00:00
|
|
|
xlrd
|
2023-03-15 16:39:30 +00:00
|
|
|
xlsxwriter
|
2022-07-18 16:21:45 +00:00
|
|
|
];
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
passthru.optional-dependencies = with python3.pkgs; {
|
|
|
|
development = [
|
|
|
|
invoke
|
|
|
|
tox
|
|
|
|
];
|
|
|
|
nuitka = [
|
|
|
|
nuitka
|
|
|
|
ordered-set
|
|
|
|
];
|
|
|
|
};
|
2022-07-18 16:21:45 +00:00
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
pythonRelaxDeps = [
|
|
|
|
"python-datauri"
|
|
|
|
"xlsxwriter"
|
|
|
|
"lxml"
|
2022-07-18 16:21:45 +00:00
|
|
|
];
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
pythonImportsCheck = [ "strictdoc" ];
|
2023-05-24 13:37:59 +00:00
|
|
|
|
2022-07-18 16:21:45 +00:00
|
|
|
meta = with lib; {
|
2024-04-21 15:54:59 +00:00
|
|
|
description = "Software for technical documentation and requirements management";
|
2022-07-18 16:21:45 +00:00
|
|
|
homepage = "https://github.com/strictdoc-project/strictdoc";
|
2024-04-21 15:54:59 +00:00
|
|
|
changelog = "https://github.com/strictdoc-project/strictdoc/blob/${src.rev}/CHANGELOG.md";
|
2022-07-18 16:21:45 +00:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ yuu ];
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "strictdoc";
|
2022-07-18 16:21:45 +00:00
|
|
|
};
|
|
|
|
}
|