Files
nixpkgs/pkgs/development/python-modules/enrich/default.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 = [ ];
};
}