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