1{
2 buildPythonPackage,
3 fetchFromGitHub,
4 lib,
5}:
6
7buildPythonPackage rec {
8 pname = "plotext";
9 version = "5.3.2";
10 format = "setuptools";
11
12 src = fetchFromGitHub {
13 owner = "piccolomo";
14 repo = "plotext";
15 tag = version;
16 hash = "sha256-4cuStXnZFTlOoBp9w+LrTZavCWEaQdZMY4apGNKvBXE=";
17 };
18
19 # Package does not have a conventional test suite that can be run with either
20 # `pytestCheckHook` or the standard setuptools testing situation.
21 doCheck = false;
22
23 pythonImportsCheck = [ "plotext" ];
24
25 meta = with lib; {
26 description = "Plotting directly in the terminal";
27 mainProgram = "plotext";
28 homepage = "https://github.com/piccolomo/plotext";
29 license = licenses.mit;
30 maintainers = with maintainers; [ samuela ];
31 };
32}