blob: d3cfa683165a8e4fdace88952c5775f3d67400d3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
{
buildPythonPackage,
colorama,
fetchFromGitHub,
lib,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "termgraph";
version = "0.5.3";
format = "setuptools";
src = fetchFromGitHub {
owner = "mkaz";
repo = "termgraph";
tag = "v${version}";
hash = "sha256-0J9mEpDIdNEYwO+A+HBOaSw+Ct+HsbSPwGQYuYH6NN8=";
};
propagatedBuildInputs = [ colorama ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "termgraph" ];
meta = {
description = "Python command-line tool which draws basic graphs in the terminal";
mainProgram = "termgraph";
homepage = "https://github.com/mkaz/termgraph";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ samuela ];
};
}
|