2020-08-20 17:08:02 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, click
|
|
|
|
, colorful
|
|
|
|
, docopt
|
|
|
|
, fetchFromGitHub
|
|
|
|
, freezegun
|
|
|
|
, humanize
|
2022-02-10 20:34:41 +00:00
|
|
|
, lark
|
2022-10-21 18:38:19 +00:00
|
|
|
, lxml
|
2020-08-20 17:08:02 +00:00
|
|
|
, parse-type
|
|
|
|
, pysingleton
|
2022-10-21 18:38:19 +00:00
|
|
|
, pytest-mock
|
2020-08-20 17:08:02 +00:00
|
|
|
, pytestCheckHook
|
2022-10-21 18:38:19 +00:00
|
|
|
, pythonOlder
|
2020-08-20 17:08:02 +00:00
|
|
|
, pyyaml
|
|
|
|
, tag-expressions
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "radish-bdd";
|
2023-03-04 12:14:45 +00:00
|
|
|
version = "0.15.0";
|
2022-10-21 18:38:19 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
2020-08-20 17:08:02 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = pname;
|
|
|
|
repo = "radish";
|
2022-10-21 18:38:19 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
2023-03-04 12:14:45 +00:00
|
|
|
hash = "sha256-SEW10ka0aQAXtW2UNCVJHMVhhZ9JTTj4IbskL87/Dn4=";
|
2020-08-20 17:08:02 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
click
|
|
|
|
colorful
|
|
|
|
docopt
|
2022-10-21 18:38:19 +00:00
|
|
|
humanize
|
|
|
|
lark
|
|
|
|
lxml
|
|
|
|
parse-type
|
2020-08-20 17:08:02 +00:00
|
|
|
pysingleton
|
2022-10-21 18:38:19 +00:00
|
|
|
tag-expressions
|
|
|
|
];
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2022-10-21 18:38:19 +00:00
|
|
|
freezegun
|
|
|
|
pytest-mock
|
|
|
|
pytestCheckHook
|
|
|
|
pyyaml
|
2020-08-20 17:08:02 +00:00
|
|
|
];
|
|
|
|
|
2022-10-21 18:38:19 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"radish"
|
|
|
|
];
|
|
|
|
|
|
|
|
disabledTests = [
|
|
|
|
"test_main_cli_calls"
|
|
|
|
];
|
2020-08-20 17:08:02 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Behaviour-Driven-Development tool for python";
|
|
|
|
homepage = "http://radish-bdd.io";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ kalbasit ];
|
|
|
|
};
|
|
|
|
}
|