1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitea, 5 flake8, 6 click, 7 pyyaml, 8 six, 9 pytestCheckHook, 10 pytest-cov-stub, 11}: 12 13buildPythonPackage rec { 14 pname = "clickclick"; 15 version = "20.10.2"; 16 format = "setuptools"; 17 18 src = fetchFromGitea { 19 domain = "codeberg.org"; 20 owner = "hjacobs"; 21 repo = "python-clickclick"; 22 rev = version; 23 hash = "sha256-gefU6CI4ibtvonsaKZmuffuUNUioBn5ODs72BI5zXOw="; 24 }; 25 26 nativeCheckInputs = [ 27 pytestCheckHook 28 pytest-cov-stub 29 ]; 30 propagatedBuildInputs = [ 31 flake8 32 click 33 pyyaml 34 six 35 ]; 36 37 # test_cli asserts on exact quoting style of output 38 disabledTests = [ "test_cli" ]; 39 40 meta = with lib; { 41 description = "Click command line utilities"; 42 homepage = "https://codeberg.org/hjacobs/python-clickclick/"; 43 license = licenses.asl20; 44 }; 45}