diff options
author | Vladimír Čunát <v@cunat.cz> | 2022-07-18 08:29:53 +0200 |
---|---|---|
committer | Vladimír Čunát <v@cunat.cz> | 2022-07-18 08:29:53 +0200 |
commit | 250922fd1e061f2132d33b778424f4e9ed42354a (patch) | |
tree | c26970f54a01d8d612c82818de8d2104172b9fa0 /pkgs/development/python-modules/textx/tests.nix | |
parent | 0ff0b14968e7474fbb917fbb096a8d89d121922f (diff) | |
parent | 950a258b9ef24ca4346bbf722a694c2ab54e4654 (diff) | |
download | nixpkgs-250922fd1e061f2132d33b778424f4e9ed42354a.tar nixpkgs-250922fd1e061f2132d33b778424f4e9ed42354a.tar.gz nixpkgs-250922fd1e061f2132d33b778424f4e9ed42354a.tar.bz2 nixpkgs-250922fd1e061f2132d33b778424f4e9ed42354a.tar.lz nixpkgs-250922fd1e061f2132d33b778424f4e9ed42354a.tar.xz nixpkgs-250922fd1e061f2132d33b778424f4e9ed42354a.tar.zst nixpkgs-250922fd1e061f2132d33b778424f4e9ed42354a.zip |
Merge branch 'master' into staging-next
Diffstat (limited to 'pkgs/development/python-modules/textx/tests.nix')
-rw-r--r-- | pkgs/development/python-modules/textx/tests.nix | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/textx/tests.nix b/pkgs/development/python-modules/textx/tests.nix new file mode 100644 index 00000000000..021224e9f35 --- /dev/null +++ b/pkgs/development/python-modules/textx/tests.nix @@ -0,0 +1,53 @@ +{ 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/"; + }; +} |