Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
83 lines
1.5 KiB
Nix
83 lines
1.5 KiB
Nix
{
|
|
lib,
|
|
python3,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "strictdoc";
|
|
version = "0.10.1";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "strictdoc-project";
|
|
repo = "strictdoc";
|
|
tag = version;
|
|
hash = "sha256-TXrSv6V5fMhcx4YolTfsFwgGL5qxNp67iv62KDC5H00=";
|
|
};
|
|
|
|
build-system = [
|
|
python3.pkgs.hatchling
|
|
];
|
|
|
|
dependencies = with python3.pkgs; [
|
|
beautifulsoup4
|
|
datauri
|
|
docutils
|
|
fastapi
|
|
graphviz
|
|
html2pdf4doc
|
|
html5lib
|
|
jinja2
|
|
lark
|
|
lxml
|
|
openpyxl
|
|
pybtex
|
|
pygments
|
|
python-multipart
|
|
reqif
|
|
requests
|
|
robotframework
|
|
selenium
|
|
setuptools
|
|
spdx-tools
|
|
textx
|
|
toml
|
|
tree-sitter
|
|
tree-sitter-grammars.tree-sitter-cpp
|
|
tree-sitter-grammars.tree-sitter-python
|
|
uvicorn
|
|
webdriver-manager
|
|
websockets
|
|
xlrd
|
|
xlsxwriter
|
|
];
|
|
|
|
optional-dependencies = with python3.pkgs; {
|
|
development = [
|
|
invoke
|
|
tox
|
|
];
|
|
nuitka = [
|
|
nuitka
|
|
ordered-set
|
|
];
|
|
};
|
|
|
|
pythonRelaxDeps = [
|
|
"python-datauri"
|
|
"xlsxwriter"
|
|
];
|
|
|
|
pythonImportsCheck = [ "strictdoc" ];
|
|
|
|
meta = {
|
|
description = "Software for technical documentation and requirements management";
|
|
homepage = "https://github.com/strictdoc-project/strictdoc";
|
|
changelog = "https://github.com/strictdoc-project/strictdoc/blob/${src.tag}/CHANGELOG.md";
|
|
license = lib.licenses.asl20;
|
|
maintainers = [ ];
|
|
mainProgram = "strictdoc";
|
|
};
|
|
}
|