python310Packages.radish-bdd: add pythonImportsCheck
This commit is contained in:
parent
1a6c1c951d
commit
b5ef8c035e
1 changed files with 26 additions and 11 deletions
|
@ -7,41 +7,56 @@
|
||||||
, freezegun
|
, freezegun
|
||||||
, humanize
|
, humanize
|
||||||
, lark
|
, lark
|
||||||
|
, lxml
|
||||||
, parse-type
|
, parse-type
|
||||||
, pysingleton
|
, pysingleton
|
||||||
|
, pytest-mock
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
, pyyaml
|
, pyyaml
|
||||||
, tag-expressions
|
, tag-expressions
|
||||||
, lxml
|
|
||||||
, pytest-mock
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "radish-bdd";
|
pname = "radish-bdd";
|
||||||
version = "0.14.0";
|
version = "0.14.0";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
# Pypi package does not have necessary test fixtures.
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = pname;
|
owner = pname;
|
||||||
repo = "radish";
|
repo = "radish";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
sha256 = "sha256-7C8XgGlpNVUONSfg9DsIS8Awpy6iDzFOLAFs1xpfHXI=";
|
hash = "sha256-7C8XgGlpNVUONSfg9DsIS8Awpy6iDzFOLAFs1xpfHXI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
lark
|
|
||||||
click
|
click
|
||||||
colorful
|
colorful
|
||||||
tag-expressions
|
|
||||||
parse-type
|
|
||||||
humanize
|
|
||||||
pyyaml
|
|
||||||
docopt
|
docopt
|
||||||
|
humanize
|
||||||
|
lark
|
||||||
|
lxml
|
||||||
|
parse-type
|
||||||
pysingleton
|
pysingleton
|
||||||
|
tag-expressions
|
||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = [ freezegun lxml pytestCheckHook pytest-mock ];
|
checkInputs = [
|
||||||
disabledTests = [ "test_main_cli_calls" ];
|
freezegun
|
||||||
|
pytest-mock
|
||||||
|
pytestCheckHook
|
||||||
|
pyyaml
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"radish"
|
||||||
|
];
|
||||||
|
|
||||||
|
disabledTests = [
|
||||||
|
"test_main_cli_calls"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Behaviour-Driven-Development tool for python";
|
description = "Behaviour-Driven-Development tool for python";
|
||||||
|
|
Loading…
Reference in a new issue