1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, colorama 5, pytestCheckHook 6, pythonOlder 7}: 8 9buildPythonPackage rec { 10 pname = "simber"; 11 version = "0.2.6"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.7"; 15 16 src = fetchFromGitHub { 17 owner = "deepjyoti30"; 18 repo = pname; 19 rev = "refs/tags/${version}"; 20 hash = "sha256-kHoFZD7nhVxJu9MqePLkL7KTG2saPecY9238c/oeEco="; 21 }; 22 23 propagatedBuildInputs = [ 24 colorama 25 ]; 26 27 nativeCheckInputs = [ 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 changelog = "https://github.com/deepjyoti30/simber/releases/tag/${version}"; 39 license = licenses.mit; 40 maintainers = with maintainers; [ j0hax ]; 41 }; 42}