python310Packages.radish-bdd: add pythonImportsCheck

This commit is contained in:
Fabian Affolter 2022-10-10 18:17:31 +02:00 committed by GitHub
parent 1a6c1c951d
commit b5ef8c035e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,41 +7,56 @@
, freezegun
, humanize
, lark
, lxml
, parse-type
, pysingleton
, pytest-mock
, pytestCheckHook
, pythonOlder
, pyyaml
, tag-expressions
, lxml
, pytest-mock
}:
buildPythonPackage rec {
pname = "radish-bdd";
version = "0.14.0";
format = "setuptools";
disabled = pythonOlder "3.7";
# Pypi package does not have necessary test fixtures.
src = fetchFromGitHub {
owner = pname;
repo = "radish";
rev = "refs/tags/v${version}";
sha256 = "sha256-7C8XgGlpNVUONSfg9DsIS8Awpy6iDzFOLAFs1xpfHXI=";
hash = "sha256-7C8XgGlpNVUONSfg9DsIS8Awpy6iDzFOLAFs1xpfHXI=";
};
propagatedBuildInputs = [
lark
click
colorful
tag-expressions
parse-type
humanize
pyyaml
docopt
humanize
lark
lxml
parse-type
pysingleton
tag-expressions
];
checkInputs = [ freezegun lxml pytestCheckHook pytest-mock ];
disabledTests = [ "test_main_cli_calls" ];
checkInputs = [
freezegun
pytest-mock
pytestCheckHook
pyyaml
];
pythonImportsCheck = [
"radish"
];
disabledTests = [
"test_main_cli_calls"
];
meta = with lib; {
description = "Behaviour-Driven-Development tool for python";