1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 colorama, 6 pytestCheckHook, 7 pythonOlder, 8}: 9 10buildPythonPackage rec { 11 pname = "simber"; 12 version = "0.2.6"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchFromGitHub { 18 owner = "deepjyoti30"; 19 repo = "simber"; 20 tag = version; 21 hash = "sha256-kHoFZD7nhVxJu9MqePLkL7KTG2saPecY9238c/oeEco="; 22 }; 23 24 propagatedBuildInputs = [ colorama ]; 25 26 nativeCheckInputs = [ pytestCheckHook ]; 27 28 pythonImportsCheck = [ "simber" ]; 29 30 meta = with lib; { 31 description = "Simple, minimal and powerful logger for Python"; 32 homepage = "https://github.com/deepjyoti30/simber"; 33 changelog = "https://github.com/deepjyoti30/simber/releases/tag/${version}"; 34 license = licenses.mit; 35 maintainers = with maintainers; [ j0hax ]; 36 }; 37}