2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-10-27 14:52:42 +01:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2018-11-04 10:34:54 +00:00
|
|
|
, six
|
|
|
|
, nose
|
2018-10-27 14:52:42 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "blessings";
|
2018-11-04 10:34:54 +00:00
|
|
|
version = "1.7";
|
2018-10-27 14:52:42 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-11-04 10:34:54 +00:00
|
|
|
sha256 = "98e5854d805f50a5b58ac2333411b0482516a8210f23f43308baeb58d77c157d";
|
2018-10-27 14:52:42 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
# 4 failing tests, 2to3
|
|
|
|
doCheck = false;
|
|
|
|
|
2018-11-04 10:34:54 +00:00
|
|
|
propagatedBuildInputs = [ six ];
|
|
|
|
checkInputs = [ nose ];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
nosetests
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/erikrose/blessings";
|
2018-10-27 14:52:42 +01:00
|
|
|
description = "A thin, practical wrapper around terminal coloring, styling, and positioning";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ domenkozar ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|