Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 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 24 srcs = textx.testout; 25 26 dontBuild = true; 27 dontInstall = true; 28 29 nativeCheckInputs = [ 30 click 31 gprof2dot 32 html5lib 33 jinja2 34 memory-profiler 35 psutil 36 pytestCheckHook 37 setuptools 38 textx-data-dsl 39 textx-example-project 40 textx-flow-codegen 41 textx-flow-dsl 42 textx-types-dsl 43 ]; 44 45 pytestFlagsArray = [ "tests/functional" ]; 46 47 meta = with lib; { 48 inherit (textx.meta) license maintainers; 49 description = "passthru.tests for textx"; 50 homepage = textx.homepage + "tree/${version}/" + "tests/"; 51 }; 52}