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