nixpkgs/pkgs/development/python-modules/textx/tests.nix
Guillaume Girol 33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00

54 lines
862 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/";
};
}