2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
click,
|
|
|
|
gprof2dot,
|
|
|
|
html5lib,
|
|
|
|
jinja2,
|
|
|
|
memory-profiler,
|
|
|
|
psutil,
|
|
|
|
pytestCheckHook,
|
|
|
|
setuptools,
|
|
|
|
textx,
|
|
|
|
textx-data-dsl,
|
|
|
|
textx-example-project,
|
|
|
|
textx-flow-codegen,
|
|
|
|
textx-flow-dsl,
|
|
|
|
textx-types-dsl,
|
2022-07-18 16:21:45 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage {
|
|
|
|
pname = "textx-tests";
|
|
|
|
inherit (textx) version;
|
|
|
|
|
|
|
|
srcs = textx.testout;
|
|
|
|
|
|
|
|
dontBuild = true;
|
|
|
|
dontInstall = true;
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2022-07-18 16:21:45 +00:00
|
|
|
click
|
|
|
|
gprof2dot
|
|
|
|
html5lib
|
|
|
|
jinja2
|
2023-10-19 13:55:26 +00:00
|
|
|
memory-profiler
|
2022-07-18 16:21:45 +00:00
|
|
|
psutil
|
|
|
|
pytestCheckHook
|
|
|
|
setuptools
|
|
|
|
textx-data-dsl
|
|
|
|
textx-example-project
|
|
|
|
textx-flow-codegen
|
|
|
|
textx-flow-dsl
|
|
|
|
textx-types-dsl
|
|
|
|
];
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pytestFlagsArray = [ "tests/functional" ];
|
2022-07-18 16:21:45 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
inherit (textx.meta) license maintainers;
|
|
|
|
description = "passthru.tests for textx";
|
|
|
|
homepage = textx.homepage + "tree/${version}/" + "tests/";
|
|
|
|
};
|
|
|
|
}
|