summary refs log tree commit diff
path: root/pkgs/development/python-modules/curtsies/default.nix
blob: d29ad1d6474586ec77655a6d9db155fa7d5e2c43 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ stdenv, buildPythonPackage, fetchPypi, blessings, mock, nose, pyte, wcwidth, typing }:

buildPythonPackage rec {
  pname = "curtsies";
  version = "0.3.0";
  src = fetchPypi {
    inherit pname version;
    sha256 = "89c802ec051d01dec6fc983e9856a3706e4ea8265d2940b1f6d504a9e26ed3a9";
  };

  propagatedBuildInputs = [ blessings wcwidth typing ];

  checkInputs = [ mock pyte nose ];

  checkPhase = ''
    nosetests tests
  '';

  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 ];
  };
}