2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, fetchpatch, six
|
2019-09-10 18:37:39 +01:00
|
|
|
, wcwidth, pytest, mock, glibcLocales
|
|
|
|
}:
|
|
|
|
|
2017-09-01 12:38:22 +01:00
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "blessed";
|
2021-03-24 09:28:09 +00:00
|
|
|
version = "1.18.0";
|
2017-09-01 12:38:22 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-03-24 09:28:09 +00:00
|
|
|
sha256 = "1312879f971330a1b7f2c6341f2ae7e2cbac244bfc9d0ecfbbecd4b0293bc755";
|
2017-09-01 12:38:22 +01:00
|
|
|
};
|
|
|
|
|
2017-12-14 22:32:26 +00:00
|
|
|
checkInputs = [ pytest mock glibcLocales ];
|
|
|
|
|
2020-09-27 00:11:00 +01:00
|
|
|
# Default tox.ini parameters not needed
|
2017-12-14 22:32:26 +00:00
|
|
|
checkPhase = ''
|
2020-09-27 00:11:00 +01:00
|
|
|
rm tox.ini
|
|
|
|
pytest
|
2017-12-14 22:32:26 +00:00
|
|
|
'';
|
|
|
|
|
2017-09-01 12:38:22 +01:00
|
|
|
propagatedBuildInputs = [ wcwidth six ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/jquast/blessed";
|
2017-09-01 12:38:22 +01:00
|
|
|
description = "A thin, practical wrapper around terminal capabilities in Python.";
|
|
|
|
maintainers = with maintainers; [ eqyiel ];
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|