1{ 2 lib, 3 buildPythonPackage, 4 click, 5 fetchPypi, 6 pytestCheckHook, 7 pythonOlder, 8 setuptools, 9 six, 10 versioneer, 11}: 12 13buildPythonPackage rec { 14 pname = "click-spinner"; 15 version = "0.1.10"; 16 pyproject = true; 17 18 disabled = pythonOlder "3.7"; 19 20 src = fetchPypi { 21 inherit pname version; 22 hash = "sha256-h+rPnXKYlzol12Fe9X1Hgq6/kTpTK7pLKKN+Nm6XXa8="; 23 }; 24 25 postPatch = '' 26 rm versioneer.py 27 ''; 28 29 build-system = [ 30 setuptools 31 versioneer 32 ]; 33 34 nativeCheckInputs = [ 35 click 36 pytestCheckHook 37 six 38 ]; 39 40 pythonImportsCheck = [ "click_spinner" ]; 41 42 meta = with lib; { 43 description = "Add support for showwing that command line app is active to Click"; 44 homepage = "https://github.com/click-contrib/click-spinner"; 45 changelog = "https://github.com/click-contrib/click-spinner/releases/tag/v${version}"; 46 license = licenses.mit; 47 maintainers = [ ]; 48 }; 49}