@@ -0,0 +1,27 @@
1+{ stdenv, buildPythonPackage, fetchPypi, blessings, mock, nose, pyte, pytest, wcwidth }:
2+
3+buildPythonPackage rec {
4+ pname = "curtsies";
5+ version = "0.2.11";
6+ name = "${pname}-${version}";
7+
8+ src = fetchPypi {
9+ inherit pname version;
10+ sha256 = "1vljmw3sy6lrqahhpyg4gk13mzcx3mwhvg8s41698ms3cpgkjipc";
11+ };
12+
13+ propagatedBuildInputs = [ blessings wcwidth pyte ];
14+
15+ checkInputs = [ nose mock pytest ];
16+
17+ checkPhase = ''
18+ py.test
19+ '';
20+
21+ meta = with stdenv.lib; {
22+ description = "Curses-like terminal wrapper, with colored strings!";
23+ homepage = https://pypi.python.org/pypi/curtsies;
24+ license = licenses.mit;
25+ maintainers = with maintainers; [ flokli ];
26+ };
27+}