2021-04-05 15:23:46 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, pytestCheckHook, setuptools-scm, rich, pytest-mock }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "enrich";
|
2022-01-13 20:06:32 +00:00
|
|
|
version = "1.2.7";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2021-04-05 15:23:46 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-01-13 20:06:32 +00:00
|
|
|
sha256 = "0a2ab0d2931dff8947012602d1234d2a3ee002d9a355b5d70be6bf5466008893";
|
2021-04-05 15:23:46 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ setuptools-scm ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ rich ];
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [ pytestCheckHook pytest-mock ];
|
2021-04-05 15:23:46 +00:00
|
|
|
|
2022-08-12 12:06:08 +00:00
|
|
|
disabledTests = [
|
|
|
|
# console output order is racy
|
|
|
|
"test_rich_console_ex"
|
|
|
|
];
|
|
|
|
|
2021-04-05 15:23:46 +00:00
|
|
|
pythonImportsCheck = [ "enrich" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Enrich adds few missing features to the wonderful rich library";
|
|
|
|
homepage = "https://github.com/pycontribs/enrich";
|
|
|
|
license = licenses.mit;
|
2023-08-04 22:07:22 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2021-04-05 15:23:46 +00:00
|
|
|
};
|
|
|
|
}
|