1{ lib
2, buildPythonPackage
3, click
4, gprof2dot
5, html5lib
6, jinja2
7, memory_profiler
8, psutil
9, pytestCheckHook
10, setuptools
11, textx
12, textx-data-dsl
13, textx-example-project
14, textx-flow-codegen
15, textx-flow-dsl
16, textx-types-dsl
17}:
18
19buildPythonPackage {
20 pname = "textx-tests";
21 inherit (textx) version;
22
23 srcs = textx.testout;
24
25 dontBuild = true;
26 dontInstall = true;
27
28 nativeCheckInputs = [
29 click
30 gprof2dot
31 html5lib
32 jinja2
33 memory_profiler
34 psutil
35 pytestCheckHook
36 setuptools
37 textx-data-dsl
38 textx-example-project
39 textx-flow-codegen
40 textx-flow-dsl
41 textx-types-dsl
42 ];
43
44 pytestFlagsArray = [
45 "tests/functional"
46 ];
47
48 meta = with lib; {
49 inherit (textx.meta) license maintainers;
50 description = "passthru.tests for textx";
51 homepage = textx.homepage + "tree/${version}/" + "tests/";
52 };
53}