6 python3.pkgs.buildPythonApplication rec {
11 src = fetchFromGitHub {
12 owner = "strictdoc-project";
14 rev = "refs/tags/${version}";
15 hash = "sha256-kZ8qVhroSPSGAcgUFZb1vRI6JoFyjeg/0qYosbRnwyc=";
19 substituteInPlace pyproject.toml \
20 --replace '"textx >= 3.0.0, == 3.*"' '"textx"' \
21 --replace '"docutils >= 0.16, == 0.*"' '"docutils"' \
22 --replace '"pygments >= 2.10.0, == 2.*"' '"pygments"' \
23 --replace '"lxml >= 4.6.2, == 4.*"' '"lxml"' \
24 --replace '"beautifulsoup4 >= 4.12.0, == 4.*"' '"beautifulsoup4"' \
25 --replace '"python-datauri >= 0.2.9, == 0.*"' '"python-datauri"' \
26 --replace '"XlsxWriter >= 1.3.7, == 1.*"' '"XlsxWriter"' \
27 --replace '"xlrd >= 2.0.1, == 2.*"' '"xlrd"' \
28 --replace '"reqif >= 0.0.33, == 0.*"' '"reqif"' \
29 --replace '"pybtex >= 0.23.0, == 0.*"' '"pybtex"'
32 nativeBuildInputs = with python3.pkgs; [
36 propagatedBuildInputs = with python3.pkgs; [
56 ] ++ uvicorn.optional-dependencies.standard;
58 nativeCheckInputs = with python3.pkgs; [
62 pythonImportsCheck = [
67 # fixture 'fs' not found
68 "test_001_load_from_files"
76 description = "Software requirements specification tool";
77 homepage = "https://github.com/strictdoc-project/strictdoc";
78 changelog = "https://github.com/strictdoc-project/strictdoc/releases/tag/${version}";
79 license = licenses.asl20;
80 maintainers = with maintainers; [ yuu ];