Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 click, 5 colorful, 6 docopt, 7 fetchFromGitHub, 8 freezegun, 9 humanize, 10 lark, 11 lxml, 12 parse-type, 13 pysingleton, 14 pytest-mock, 15 pytestCheckHook, 16 pythonOlder, 17 pyyaml, 18 tag-expressions, 19}: 20 21buildPythonPackage rec { 22 pname = "radish-bdd"; 23 version = "0.17.1"; 24 format = "setuptools"; 25 26 disabled = pythonOlder "3.7"; 27 28 src = fetchFromGitHub { 29 owner = pname; 30 repo = "radish"; 31 rev = "refs/tags/v${version}"; 32 hash = "sha256-9Wt+W7PWUVijzAeZMvcOl/Na60OCCGJJqxh2UaAxAcM="; 33 }; 34 35 propagatedBuildInputs = [ 36 click 37 colorful 38 docopt 39 humanize 40 lark 41 lxml 42 parse-type 43 pysingleton 44 tag-expressions 45 ]; 46 47 nativeCheckInputs = [ 48 freezegun 49 pytest-mock 50 pytestCheckHook 51 pyyaml 52 ]; 53 54 pythonImportsCheck = [ "radish" ]; 55 56 disabledTests = [ "test_main_cli_calls" ]; 57 58 meta = with lib; { 59 description = "Behaviour-Driven-Development tool for python"; 60 homepage = "https://radish-bdd.github.io/"; 61 changelog = "https://github.com/radish-bdd/radish/blob/v${version}/CHANGELOG.md"; 62 license = licenses.mit; 63 maintainers = with maintainers; [ kalbasit ]; 64 }; 65}