depot/third_party/nixpkgs/pkgs/development/python-modules/asciimatics/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

56 lines
1 KiB
Nix

{ lib
, buildPythonPackage
, fetchPypi
, setuptools-scm
, pyfiglet
, pillow
, wcwidth
, future
, mock
, nose
}:
buildPythonPackage rec {
pname = "asciimatics";
version = "1.15.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-z905gEJydRnYtz5iuO+CwL7P7U60IImcO5bJjQuWgho=";
};
nativeBuildInputs = [
setuptools-scm
];
propagatedBuildInputs = [
pyfiglet
pillow
wcwidth
future
];
nativeCheckInputs = [
mock
nose
];
# tests require a pty emulator
# which is too complicated to setup here
doCheck = false;
pythonImportsCheck = [
"asciimatics.effects"
"asciimatics.renderers"
"asciimatics.scene"
"asciimatics.screen"
];
meta = with lib; {
description = "Helps to create full-screen text UIs (from interactive forms to ASCII animations) on any platform";
homepage = "https://github.com/peterbrittain/asciimatics";
license = licenses.asl20;
maintainers = with maintainers; [ cmcdragonkai ];
};
}