2021-12-06 16:07:01 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, six
|
2020-04-24 23:36:52 +00:00
|
|
|
, wcwidth, pytest, mock, glibcLocales
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "blessed";
|
2023-03-15 16:39:30 +00:00
|
|
|
version = "1.20.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-03-15 16:39:30 +00:00
|
|
|
hash = "sha256-LN1n+HRuBI8A30eiiA9NasvNs5kDG2BONLqPcdV4doA=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [ pytest mock glibcLocales ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-10-07 09:15:18 +00:00
|
|
|
# Default tox.ini parameters not needed
|
2020-04-24 23:36:52 +00:00
|
|
|
checkPhase = ''
|
2020-10-07 09:15:18 +00:00
|
|
|
rm tox.ini
|
|
|
|
pytest
|
2020-04-24 23:36:52 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ wcwidth six ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/jquast/blessed";
|
|
|
|
description = "A thin, practical wrapper around terminal capabilities in Python.";
|
|
|
|
maintainers = with maintainers; [ eqyiel ];
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|