2021-11-12 09:22:34 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, six
|
2019-09-10 17:37:39 +00:00
|
|
|
, wcwidth, pytest, mock, glibcLocales
|
|
|
|
}:
|
|
|
|
|
2017-09-01 11:38:22 +00:00
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "blessed";
|
2022-03-02 21:41:53 +00:00
|
|
|
version = "1.19.1";
|
2017-09-01 11:38:22 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-03-02 21:41:53 +00:00
|
|
|
sha256 = "sha256-mg0JlpW/Yh1GgN1sc/atVH9qNEL72+gMSx2qHtvEkvw=";
|
2017-09-01 11:38:22 +00:00
|
|
|
};
|
|
|
|
|
2017-12-14 22:32:26 +00:00
|
|
|
checkInputs = [ pytest mock glibcLocales ];
|
|
|
|
|
2020-09-26 23:11:00 +00:00
|
|
|
# Default tox.ini parameters not needed
|
2017-12-14 22:32:26 +00:00
|
|
|
checkPhase = ''
|
2020-09-26 23:11:00 +00:00
|
|
|
rm tox.ini
|
|
|
|
pytest
|
2017-12-14 22:32:26 +00:00
|
|
|
'';
|
|
|
|
|
2017-09-01 11:38:22 +00:00
|
|
|
propagatedBuildInputs = [ wcwidth six ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/jquast/blessed";
|
2017-09-01 11:38:22 +00:00
|
|
|
description = "A thin, practical wrapper around terminal capabilities in Python.";
|
|
|
|
maintainers = with maintainers; [ eqyiel ];
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|