mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-31 17:19:58 +00:00
44 lines
797 B
Nix
44 lines
797 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;
|
|
hash = "sha256-Ciqw0pMd/4lHASYC0SNNKj7gAtmjVbXXC+a/VGYAiJM=";
|
|
};
|
|
|
|
buildInputs = [ setuptools-scm ];
|
|
|
|
propagatedBuildInputs = [ rich ];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
pytest-mock
|
|
];
|
|
|
|
disabledTests = [
|
|
# console output order is racy
|
|
"test_rich_console_ex"
|
|
];
|
|
|
|
pythonImportsCheck = [ "enrich" ];
|
|
|
|
meta = {
|
|
description = "Enrich adds few missing features to the wonderful rich library";
|
|
homepage = "https://github.com/pycontribs/enrich";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ ];
|
|
};
|
|
}
|