Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / enrich / default.nix
blobabaa47ec07dc45d7bdb0234cd71f62195ff6d564
1 { lib, buildPythonPackage, fetchPypi, pytestCheckHook, setuptools-scm, rich, pytest-mock }:
3 buildPythonPackage rec {
4   pname = "enrich";
5   version = "1.2.7";
7   src = fetchPypi {
8     inherit pname version;
9     sha256 = "0a2ab0d2931dff8947012602d1234d2a3ee002d9a355b5d70be6bf5466008893";
10   };
12   buildInputs = [ setuptools-scm ];
14   propagatedBuildInputs = [ rich ];
16   nativeCheckInputs = [ pytestCheckHook pytest-mock ];
18   disabledTests = [
19     # console output order is racy
20     "test_rich_console_ex"
21   ];
23   pythonImportsCheck = [ "enrich" ];
25   meta = with lib; {
26     description = "Enrich adds few missing features to the wonderful rich library";
27     homepage = "https://github.com/pycontribs/enrich";
28     license = licenses.mit;
29     maintainers = with maintainers; [ ];
30   };