My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/blessed/default.nix

30 lines
701 B

{ lib, buildPythonPackage, fetchPypi, six
, wcwidth, pytest, mock, glibcLocales
}:
buildPythonPackage rec {
pname = "blessed";
version = "1.19.1";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-mg0JlpW/Yh1GgN1sc/atVH9qNEL72+gMSx2qHtvEkvw=";
};
checkInputs = [ 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 = "A thin, practical wrapper around terminal capabilities in Python.";
maintainers = with maintainers; [ eqyiel ];
license = licenses.mit;
};
}