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