12 buildPythonPackage rec {
15 format = "setuptools";
17 disabled = pythonOlder "3.7";
20 inherit pname version;
21 hash = "sha256-dfPZK0ng715FT8Gg853Aq49tmUbL5TTbPe0wECF9W18=";
24 propagatedBuildInputs = [
29 nativeCheckInputs = [ pytestCheckHook ];
31 pythonImportsCheck = [ "enlighten" ];
35 # AssertionError: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'> is not...
37 # AssertionError: Invalid format specifier (deprecated since prefixed 0.4.0)
38 "test_floats_prefixed"
39 "test_subcounter_prefixed"
41 ++ lib.optionals stdenv.hostPlatform.isDarwin [
42 # https://github.com/Rockhopper-Technologies/enlighten/issues/44
47 description = "Enlighten Progress Bar for Python Console Apps";
48 homepage = "https://github.com/Rockhopper-Technologies/enlighten";
49 changelog = "https://github.com/Rockhopper-Technologies/enlighten/releases/tag/${version}";
50 license = with licenses; [ mpl20 ];
51 maintainers = with maintainers; [ veprbl ];