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

31 lines
735 B
Nix
Raw Normal View History

{ lib, stdenv, buildPythonPackage, fetchPypi, fetchpatch, six
, wcwidth, pytest, mock, glibcLocales
}:
buildPythonPackage rec {
pname = "blessed";
version = "1.17.12";
src = fetchPypi {
inherit pname version;
sha256 = "580429e7e0c6f6a42ea81b0ae5a4993b6205c6ccbb635d034b4277af8175753e";
};
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;
};
}