depot/third_party/nixpkgs/pkgs/development/python-modules/asciimatics/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

48 lines
870 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, setuptools_scm
, pyfiglet
, pillow
, wcwidth
, future
, mock
, nose
}:
buildPythonPackage rec {
pname = "asciimatics";
version = "1.11.0";
src = fetchPypi {
inherit pname version;
sha256 = "132y3gc0dj9vmgajmzz2fyc3icrrgsvynwfl0g31bylm7h9p220x";
};
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";
homepage = "https://github.com/peterbrittain/asciimatics";
license = licenses.asl20;
maintainers = with maintainers; [ cmcdragonkai ];
};
}