Files
nixpkgs/pkgs/development/python-modules/enrich/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

44 lines
812 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 = {
description = "Enrich adds few missing features to the wonderful rich library";
homepage = "https://github.com/pycontribs/enrich";
license = lib.licenses.mit;
maintainers = [ ];
};
}