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