2018-02-26 22:53:18 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, blessings, mock, nose, pyte, pytest, wcwidth }:
|
2017-10-29 11:21:18 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "curtsies";
|
2018-02-17 14:19:06 +01:00
|
|
|
version = "0.3.0";
|
2017-10-29 11:21:18 +01:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-02-17 14:19:06 +01:00
|
|
|
sha256 = "89c802ec051d01dec6fc983e9856a3706e4ea8265d2940b1f6d504a9e26ed3a9";
|
2017-10-29 11:21:18 +01:00
|
|
|
};
|
|
|
|
|
2018-02-26 22:53:18 +01:00
|
|
|
propagatedBuildInputs = [ blessings wcwidth pyte ];
|
2017-10-29 11:21:18 +01:00
|
|
|
|
2018-02-26 22:53:18 +01:00
|
|
|
checkInputs = [ nose mock pytest ];
|
2017-10-29 11:21:18 +01:00
|
|
|
|
|
|
|
checkPhase = ''
|
2018-02-26 22:53:18 +01:00
|
|
|
py.test
|
2017-10-29 11:21:18 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Curses-like terminal wrapper, with colored strings!";
|
|
|
|
homepage = https://pypi.python.org/pypi/curtsies;
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ flokli ];
|
|
|
|
};
|
|
|
|
}
|