biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / by-name / st / strictdoc / package.nix
blob49475a7f46a8ac0dab943fa1fe52a755dcb540e2
1 { lib
2 , python3
3 , fetchFromGitHub
4 }:
6 python3.pkgs.buildPythonApplication rec {
7   pname = "strictdoc";
8   version = "0.0.58";
9   pyproject = true;
11   src = fetchFromGitHub {
12     owner = "strictdoc-project";
13     repo = "strictdoc";
14     rev = "refs/tags/${version}";
15     hash = "sha256-0X74Lv25pUdOUgQzqQU6p+fjuxhC/JqfKEFI7c5t67U=";
16   };
18   nativeBuildInputs = [
19     python3.pkgs.hatchling
20   ];
22   propagatedBuildInputs = with python3.pkgs; [
23     beautifulsoup4
24     docutils
25     fastapi
26     graphviz
27     html5lib
28     jinja2
29     lxml
30     pybtex
31     pygments
32     datauri
33     python-multipart
34     selenium
35     requests
36     spdx-tools
37     webdriver-manager
38     reqif
39     setuptools
40     textx
41     toml
42     uvicorn
43     websockets
44     xlrd
45     xlsxwriter
46   ];
48   optional-dependencies = with python3.pkgs; {
49     development = [
50       invoke
51       tox
52     ];
53     nuitka = [
54       nuitka
55       ordered-set
56     ];
57   };
59   pythonRelaxDeps = [
60     "python-datauri"
61     "xlsxwriter"
62     "lxml"
63     "textx"
64   ];
66   pythonImportsCheck = [ "strictdoc" ];
68   meta = with lib; {
69     description = "Software for technical documentation and requirements management";
70     homepage = "https://github.com/strictdoc-project/strictdoc";
71     changelog = "https://github.com/strictdoc-project/strictdoc/blob/${src.rev}/CHANGELOG.md";
72     license = licenses.asl20;
73     maintainers = with maintainers; [ yuu ];
74     mainProgram = "strictdoc";
75   };