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-10-09 19:29:22 +00:00
|
|
|
version = "0.16.2";
|
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-10-09 19:29:22 +00:00
|
|
|
hash = "sha256-ZWAHPZmyPq/BRVT6pHkTRjp2SA36+wD6x6GW9OyfG7k=";
|
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";
|
2023-10-09 19:29:22 +00:00
|
|
|
homepage = "https://radish-bdd.github.io/";
|
|
|
|
changelog = "https://github.com/radish-bdd/radish/blob/v${version}/CHANGELOG.md";
|
2020-08-20 17:08:02 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ kalbasit ];
|
|
|
|
};
|
|
|
|
}
|