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