depot/third_party/nixpkgs/pkgs/development/python-modules/textx/tests.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

52 lines
874 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;
nativeCheckInputs = [
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/";
};
}