Files
nixpkgs/pkgs/development/python-modules/bottombar/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

35 lines
893 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
flit-core,
}:
buildPythonPackage rec {
pname = "bottombar";
version = "2.1";
format = "pyproject";
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 ];
};
}