strictdoc: cleanup file after pkgs/by-name move

This commit is contained in:
Sandro 2024-03-21 16:07:38 +01:00 committed by GitHub
parent d23f4b140f
commit 5af1df8b7d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,76 +0,0 @@
{ lib
, fetchFromGitHub
, python3
}:
python3.pkgs.buildPythonApplication rec {
pname = "strictdoc";
version = "0.0.40";
pyproject = true;
src = fetchFromGitHub {
owner = "strictdoc-project";
repo = "strictdoc";
rev = "refs/tags/${version}";
hash = "sha256-kZ8qVhroSPSGAcgUFZb1vRI6JoFyjeg/0qYosbRnwyc=";
};
pythonRelaxDeps = true;
nativeBuildInputs = with python3.pkgs; [
hatchling
pythonRelaxDepsHook
];
propagatedBuildInputs = with python3.pkgs; [
beautifulsoup4
datauri
docutils
fastapi
html5lib
jinja2
lxml
markupsafe
pybtex
pygments
python-multipart
reqif
selenium
setuptools
spdx-tools
textx
toml
uvicorn
webdriver-manager
websockets
xlrd
xlsxwriter
] ++ uvicorn.optional-dependencies.standard;
nativeCheckInputs = with python3.pkgs; [
httpx
pytestCheckHook
];
pythonImportsCheck = [
"strictdoc"
];
disabledTests = [
# fixture 'fs' not found
"test_001_load_from_files"
];
disabledTestPaths = [
"tests/end2end/"
];
meta = with lib; {
description = "Software requirements specification tool";
mainProgram = "strictdoc";
homepage = "https://github.com/strictdoc-project/strictdoc";
changelog = "https://github.com/strictdoc-project/strictdoc/releases/tag/${version}";
license = licenses.asl20;
maintainers = with maintainers; [ yuu ];
};
}