2019-01-23 09:31:44 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, setuptools_scm
|
|
|
|
, pyfiglet
|
|
|
|
, pillow
|
|
|
|
, wcwidth
|
|
|
|
, future
|
|
|
|
, mock
|
|
|
|
, nose
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "asciimatics";
|
2019-05-22 13:22:14 +01:00
|
|
|
version = "1.11.0";
|
2019-01-23 09:31:44 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-05-22 13:22:14 +01:00
|
|
|
sha256 = "132y3gc0dj9vmgajmzz2fyc3icrrgsvynwfl0g31bylm7h9p220x";
|
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;
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|