1{ lib
2, buildPythonPackage
3, fetchPypi
4, six
5, nose
6}:
7
8buildPythonPackage rec {
9 pname = "blessings";
10 version = "1.7";
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "98e5854d805f50a5b58ac2333411b0482516a8210f23f43308baeb58d77c157d";
15 };
16
17 # 4 failing tests, 2to3
18 doCheck = false;
19
20 propagatedBuildInputs = [ six ];
21 nativeCheckInputs = [ nose ];
22
23 checkPhase = ''
24 nosetests
25 '';
26
27 meta = with lib; {
28 homepage = "https://github.com/erikrose/blessings";
29 description = "A thin, practical wrapper around terminal coloring, styling, and positioning";
30 license = licenses.mit;
31 maintainers = with maintainers; [ domenkozar ];
32 };
33
34}