nixpkgs-suyu/pkgs/development/python-modules/blessings/default.nix

35 lines
676 B
Nix
Raw Normal View History

{ stdenv
, buildPythonPackage
, fetchPypi
2018-11-04 11:34:54 +01:00
, six
, nose
}:
buildPythonPackage rec {
pname = "blessings";
2018-11-04 11:34:54 +01:00
version = "1.7";
src = fetchPypi {
inherit pname version;
2018-11-04 11:34:54 +01:00
sha256 = "98e5854d805f50a5b58ac2333411b0482516a8210f23f43308baeb58d77c157d";
};
# 4 failing tests, 2to3
doCheck = false;
2018-11-04 11:34:54 +01:00
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 ];
};
}