python3Packages.rich: 9.13.0 -> 10.1.0

This commit is contained in:
Fabian Affolter 2021-05-05 21:24:30 +02:00
parent 4f09b04320
commit f417ed0e69

View file

@ -6,7 +6,7 @@
, colorama , colorama
, dataclasses , dataclasses
, ipywidgets , ipywidgets
, poetry , poetry-core
, pygments , pygments
, typing-extensions , typing-extensions
, pytestCheckHook , pytestCheckHook
@ -14,27 +14,33 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "rich"; pname = "rich";
version = "9.13.0"; version = "10.1.0";
format = "pyproject";
disabled = pythonOlder "3.6";
# tests not included in pypi tarball
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "willmcgugan"; owner = "willmcgugan";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "0si3rzhg8wfxw4aakkp8sr6nbzfa54rl0w92macd1338q90ha4ly"; sha256 = "sha256-HH+k9uiK34yoqu83rknCIe2DpoqJRHkcqABuj8zjzqs=";
}; };
format = "pyproject";
nativeBuildInputs = [ poetry ]; nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [ propagatedBuildInputs = [
CommonMark CommonMark
colorama colorama
ipywidgets ipywidgets
pygments pygments
typing-extensions typing-extensions
] ++ lib.optional (pythonOlder "3.7") dataclasses; ] ++ lib.optional (pythonOlder "3.7") [
dataclasses
];
checkInputs = [
pytestCheckHook
];
checkInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "rich" ]; pythonImportsCheck = [ "rich" ];
meta = with lib; { meta = with lib; {