1{ lib, buildPythonPackage, fetchPypi, pytestCheckHook, setuptools-scm, rich, pytest-mock }: 2 3buildPythonPackage rec { 4 pname = "enrich"; 5 version = "1.2.6"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "sha256-Dpn/V9h/e13vDKeZF+iPuTUaoNUuIo7ji/982FgxX+Q="; 10 }; 11 12 buildInputs = [ setuptools-scm ]; 13 14 propagatedBuildInputs = [ rich ]; 15 16 checkInputs = [ pytestCheckHook pytest-mock ]; 17 18 pythonImportsCheck = [ "enrich" ]; 19 20 meta = with lib; { 21 description = "Enrich adds few missing features to the wonderful rich library"; 22 homepage = "https://github.com/pycontribs/enrich"; 23 license = licenses.mit; 24 maintainers = with maintainers; [ SuperSandro2000 ]; 25 }; 26}