1{ lib, buildPythonPackage, fetchPypi, pytestCheckHook, setuptools-scm, rich, pytest-mock }:
2
3buildPythonPackage rec {
4 pname = "enrich";
5 version = "1.2.7";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "0a2ab0d2931dff8947012602d1234d2a3ee002d9a355b5d70be6bf5466008893";
10 };
11
12 buildInputs = [ setuptools-scm ];
13
14 propagatedBuildInputs = [ rich ];
15
16 nativeCheckInputs = [ pytestCheckHook pytest-mock ];
17
18 disabledTests = [
19 # console output order is racy
20 "test_rich_console_ex"
21 ];
22
23 pythonImportsCheck = [ "enrich" ];
24
25 meta = with lib; {
26 description = "Enrich adds few missing features to the wonderful rich library";
27 homepage = "https://github.com/pycontribs/enrich";
28 license = licenses.mit;
29 maintainers = with maintainers; [ ];
30 };
31}