python3Packages.termgraph: init at 0.5.3

This commit is contained in:
Samuel Ainsworth 2022-11-17 19:45:56 -08:00 committed by Jonathan Ringer
parent a14e29ab81
commit ef5ded2009
2 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,32 @@
{ buildPythonPackage
, colorama
, fetchFromGitHub
, lib
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "termgraph";
version = "0.5.3";
format = "setuptools";
src = fetchFromGitHub {
owner = "mkaz";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-0J9mEpDIdNEYwO+A+HBOaSw+Ct+HsbSPwGQYuYH6NN8=";
};
propagatedBuildInputs = [ colorama ];
checkInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "termgraph" ];
meta = with lib; {
description = "A python command-line tool which draws basic graphs in the terminal";
homepage = "https://github.com/mkaz/termgraph";
license = licenses.mit;
maintainers = with maintainers; [ samuela ];
};
}

View File

@ -10983,6 +10983,8 @@ self: super: with self; {
termcolor = callPackage ../development/python-modules/termcolor { };
termgraph = callPackage ../development/python-modules/termgraph { };
terminado = callPackage ../development/python-modules/terminado { };
terminaltables = callPackage ../development/python-modules/terminaltables { };