1{ lib
2, buildPythonPackage
3, click
4, colorful
5, docopt
6, fetchFromGitHub
7, freezegun
8, humanize
9, lark-parser
10, parse-type
11, pysingleton
12, pytestCheckHook
13, pyyaml
14, tag-expressions
15, lxml
16, pytest-mock
17}:
18
19buildPythonPackage rec {
20 pname = "radish-bdd";
21 version = "0.13.4";
22
23 # Pypi package does not have necessary test fixtures.
24 src = fetchFromGitHub {
25 owner = pname;
26 repo = "radish";
27 rev = "v${version}";
28 sha256 = "1slfgh61648i009qj8156qipy21a6zm8qzjk00kbm5kk5z9jfryi";
29 };
30
31 propagatedBuildInputs = [
32 lark-parser
33 click
34 colorful
35 tag-expressions
36 parse-type
37 humanize
38 pyyaml
39 docopt
40 pysingleton
41 ];
42
43 checkInputs = [ freezegun lxml pytestCheckHook pytest-mock ];
44 disabledTests = [ "test_main_cli_calls" ];
45
46 meta = with lib; {
47 description = "Behaviour-Driven-Development tool for python";
48 homepage = "http://radish-bdd.io";
49 license = licenses.mit;
50 maintainers = with maintainers; [ kalbasit ];
51 };
52}