depot/third_party/nixpkgs/pkgs/development/python-modules/radish-bdd/default.nix
Default email b5f92a349c Project import generated by Copybara.
GitOrigin-RevId: 7c9cc5a6e5d38010801741ac830a3f8fd667a7a0
2023-10-19 15:55:26 +02:00

68 lines
1.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.17.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = pname;
repo = "radish";
rev = "refs/tags/v${version}";
hash = "sha256-4cGUF4Qh5+mxHtKNnAjh37Q6hEFCQ9zmntya98UHx+0=";
};
propagatedBuildInputs = [
click
colorful
docopt
humanize
lark
lxml
parse-type
pysingleton
tag-expressions
];
nativeCheckInputs = [
freezegun
pytest-mock
pytestCheckHook
pyyaml
];
pythonImportsCheck = [
"radish"
];
disabledTests = [
"test_main_cli_calls"
];
meta = with lib; {
description = "Behaviour-Driven-Development tool for python";
homepage = "https://radish-bdd.github.io/";
changelog = "https://github.com/radish-bdd/radish/blob/v${version}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ kalbasit ];
};
}