depot/third_party/nixpkgs/pkgs/development/python-modules/blessed/default.nix

31 lines
737 B
Nix
Raw Normal View History

{ stdenv, buildPythonPackage, fetchPypi, fetchpatch, six
, wcwidth, pytest, mock, glibcLocales
}:
buildPythonPackage rec {
pname = "blessed";
version = "1.17.11";
src = fetchPypi {
inherit pname version;
sha256 = "7d4914079a6e8e14fbe080dcaf14dee596a088057cdc598561080e3266123b48";
};
checkInputs = [ pytest mock glibcLocales ];
# Default tox.ini parameters not needed
checkPhase = ''
rm tox.ini
pytest
'';
propagatedBuildInputs = [ wcwidth six ];
meta = with stdenv.lib; {
homepage = "https://github.com/jquast/blessed";
description = "A thin, practical wrapper around terminal capabilities in Python.";
maintainers = with maintainers; [ eqyiel ];
license = licenses.mit;
};
}