c6ca5b8f13
GitOrigin-RevId: e4d49de45a3b5dbcb881656b4e3986e666141ea9
53 lines
856 B
Nix
53 lines
856 B
Nix
{ 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
|
|
}:
|
|
|
|
buildPythonPackage {
|
|
pname = "textx-tests";
|
|
inherit (textx) version;
|
|
|
|
srcs = textx.testout;
|
|
|
|
dontBuild = true;
|
|
dontInstall = true;
|
|
|
|
checkInputs = [
|
|
click
|
|
gprof2dot
|
|
html5lib
|
|
jinja2
|
|
memory_profiler
|
|
psutil
|
|
pytestCheckHook
|
|
setuptools
|
|
textx-data-dsl
|
|
textx-example-project
|
|
textx-flow-codegen
|
|
textx-flow-dsl
|
|
textx-types-dsl
|
|
];
|
|
|
|
pytestFlagsArray = [
|
|
"tests/functional"
|
|
];
|
|
|
|
meta = with lib; {
|
|
inherit (textx.meta) license maintainers;
|
|
description = "passthru.tests for textx";
|
|
homepage = textx.homepage + "tree/${version}/" + "tests/";
|
|
};
|
|
}
|