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

31 lines
726 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchPypi, fetchpatch, six
, wcwidth, pytest, mock, glibcLocales
}:
buildPythonPackage rec {
pname = "blessed";
version = "1.18.0";
src = fetchPypi {
inherit pname version;
sha256 = "1312879f971330a1b7f2c6341f2ae7e2cbac244bfc9d0ecfbbecd4b0293bc755";
};
2017-12-14 22:32:26 +00:00
checkInputs = [ pytest mock glibcLocales ];
# Default tox.ini parameters not needed
2017-12-14 22:32:26 +00:00
checkPhase = ''
rm tox.ini
pytest
2017-12-14 22:32:26 +00:00
'';
propagatedBuildInputs = [ wcwidth six ];
meta = with lib; {
homepage = "https://github.com/jquast/blessed";
description = "A thin, practical wrapper around terminal capabilities in Python.";
maintainers = with maintainers; [ eqyiel ];
license = licenses.mit;
};
}