depot/third_party/nixpkgs/pkgs/development/python-modules/blessed/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

45 lines
767 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
six,
wcwidth,
pytest,
mock,
glibcLocales,
}:
buildPythonPackage rec {
pname = "blessed";
version = "1.20.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-LN1n+HRuBI8A30eiiA9NasvNs5kDG2BONLqPcdV4doA=";
};
nativeCheckInputs = [
pytest
mock
glibcLocales
];
# Default tox.ini parameters not needed
checkPhase = ''
rm tox.ini
pytest
'';
propagatedBuildInputs = [
wcwidth
six
];
meta = with lib; {
homepage = "https://github.com/jquast/blessed";
description = "Thin, practical wrapper around terminal capabilities in Python";
maintainers = with maintainers; [ eqyiel ];
license = licenses.mit;
};
}