1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 flit-core,
6}:
7
8buildPythonPackage rec {
9 pname = "bottombar";
10 version = "2.1";
11 format = "pyproject";
12
13 src = fetchFromGitHub {
14 owner = "evalf";
15 repo = "bottombar";
16 tag = "v${version}";
17 hash = "sha256-W+Cbcgb664nVT/nsFdDruT688JWG2NZnF5hDDezTgnw=";
18 };
19
20 nativeBuildInputs = [ flit-core ];
21
22 # The package only has some "interactive" tests where a user must check for
23 # the correct output and hit enter after every check
24 doCheck = false;
25 pythonImportsCheck = [ "bottombar" ];
26
27 meta = with lib; {
28 description = "Context manager that prints a status line at the bottom of a terminal window";
29 homepage = "https://github.com/evalf/bottombar";
30 changelog = "https://github.com/evalf/bottombar/releases/tag/v${version}";
31 license = licenses.mit;
32 maintainers = with maintainers; [ conni2461 ];
33 };
34}