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