summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/bottombar/default.nix
blob: 39d5e092373d7efbc6673c1fc0d6ebb8bad762c0 (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
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  flit-core,
}:

buildPythonPackage rec {
  pname = "bottombar";
  version = "2.1";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "evalf";
    repo = "bottombar";
    tag = "v${version}";
    hash = "sha256-W+Cbcgb664nVT/nsFdDruT688JWG2NZnF5hDDezTgnw=";
  };

  nativeBuildInputs = [ flit-core ];

  # The package only has some "interactive" tests where a user must check for
  # the correct output and hit enter after every check
  doCheck = false;
  pythonImportsCheck = [ "bottombar" ];

  meta = {
    description = "Context manager that prints a status line at the bottom of a terminal window";
    homepage = "https://github.com/evalf/bottombar";
    changelog = "https://github.com/evalf/bottombar/releases/tag/v${version}";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ conni2461 ];
  };
}