504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
32 lines
811 B
Nix
32 lines
811 B
Nix
{ lib, buildPythonPackage, fetchPypi, pytestCheckHook, setuptools-scm, rich, pytest-mock }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "enrich";
|
|
version = "1.2.7";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "0a2ab0d2931dff8947012602d1234d2a3ee002d9a355b5d70be6bf5466008893";
|
|
};
|
|
|
|
buildInputs = [ setuptools-scm ];
|
|
|
|
propagatedBuildInputs = [ rich ];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook pytest-mock ];
|
|
|
|
disabledTests = [
|
|
# console output order is racy
|
|
"test_rich_console_ex"
|
|
];
|
|
|
|
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;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|