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