2019-01-23 09:31:44 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, setuptools_scm
|
|
|
|
, pyfiglet
|
|
|
|
, pillow
|
|
|
|
, wcwidth
|
|
|
|
, future
|
|
|
|
, mock
|
|
|
|
, nose
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "asciimatics";
|
2020-11-19 14:10:52 +00:00
|
|
|
version = "1.12.0";
|
2019-01-23 09:31:44 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-19 14:10:52 +00:00
|
|
|
sha256 = "4120461a3fb345638dee4fe0f8a3d3f9b6d2d2e003f95c5f914523f94463158d";
|
2019-01-23 09:31:44 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
setuptools_scm
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
pyfiglet
|
|
|
|
pillow
|
|
|
|
wcwidth
|
|
|
|
future
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
mock
|
|
|
|
nose
|
|
|
|
];
|
|
|
|
|
|
|
|
# tests require a pty emulator
|
|
|
|
# which is too complicated to setup here
|
|
|
|
doCheck = false;
|
|
|
|
|
2020-11-20 00:46:46 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"asciimatics.effects"
|
|
|
|
"asciimatics.renderers"
|
|
|
|
"asciimatics.scene"
|
|
|
|
"asciimatics.screen"
|
|
|
|
];
|
|
|
|
|
2019-01-23 09:31:44 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Helps to create full-screen text UIs (from interactive forms to ASCII animations) on any platform";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/peterbrittain/asciimatics";
|
2019-01-23 09:31:44 +00:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ cmcdragonkai ];
|
|
|
|
};
|
|
|
|
}
|