about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/blessings/default.nix
blob: c285b3a7d003866fa2d70ab65a0a6e2f3af86313 (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
26
27
28
29
30
31
32
33
34
{ stdenv
, buildPythonPackage
, fetchPypi
, six
, nose
}:

buildPythonPackage rec {
  pname = "blessings";
  version = "1.7";

  src = fetchPypi {
    inherit pname version;
    sha256 = "98e5854d805f50a5b58ac2333411b0482516a8210f23f43308baeb58d77c157d";
  };

  # 4 failing tests, 2to3
  doCheck = false;

  propagatedBuildInputs = [ six ];
  checkInputs = [ nose ];

  checkPhase = ''
    nosetests
  '';

  meta = with stdenv.lib; {
    homepage = "https://github.com/erikrose/blessings";
    description = "A thin, practical wrapper around terminal coloring, styling, and positioning";
    license = licenses.mit;
    maintainers = with maintainers; [ domenkozar ];
  };

}