depot/third_party/nixpkgs/pkgs/development/python-modules/blessings/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

34 lines
674 B
Nix

{ lib
, 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 ];
nativeCheckInputs = [ nose ];
checkPhase = ''
nosetests
'';
meta = with 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 ];
};
}