mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 10:53:11 +00:00
python3Packages.termgraph: init at 0.5.3
This commit is contained in:
parent
a14e29ab81
commit
ef5ded2009
32
pkgs/development/python-modules/termgraph/default.nix
Normal file
32
pkgs/development/python-modules/termgraph/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user