c594a97518
GitOrigin-RevId: 301aada7a64812853f2e2634a530ef5d34505048
67 lines
1 KiB
Nix
67 lines
1 KiB
Nix
{ lib
|
|
, buildPythonPackage
|
|
, click
|
|
, colorful
|
|
, docopt
|
|
, fetchFromGitHub
|
|
, freezegun
|
|
, humanize
|
|
, lark
|
|
, lxml
|
|
, parse-type
|
|
, pysingleton
|
|
, pytest-mock
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
, pyyaml
|
|
, tag-expressions
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "radish-bdd";
|
|
version = "0.14.0";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = pname;
|
|
repo = "radish";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-7C8XgGlpNVUONSfg9DsIS8Awpy6iDzFOLAFs1xpfHXI=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
click
|
|
colorful
|
|
docopt
|
|
humanize
|
|
lark
|
|
lxml
|
|
parse-type
|
|
pysingleton
|
|
tag-expressions
|
|
];
|
|
|
|
checkInputs = [
|
|
freezegun
|
|
pytest-mock
|
|
pytestCheckHook
|
|
pyyaml
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"radish"
|
|
];
|
|
|
|
disabledTests = [
|
|
"test_main_cli_calls"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Behaviour-Driven-Development tool for python";
|
|
homepage = "http://radish-bdd.io";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ kalbasit ];
|
|
};
|
|
}
|