2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
flit-core,
|
2023-07-15 17:15:38 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "bottombar";
|
2023-11-16 04:20:00 +00:00
|
|
|
version = "2.1";
|
2023-07-15 17:15:38 +00:00
|
|
|
format = "pyproject";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "evalf";
|
|
|
|
repo = "bottombar";
|
|
|
|
rev = "refs/tags/v${version}";
|
2023-11-16 04:20:00 +00:00
|
|
|
hash = "sha256-W+Cbcgb664nVT/nsFdDruT688JWG2NZnF5hDDezTgnw=";
|
2023-07-15 17:15:38 +00:00
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeBuildInputs = [ flit-core ];
|
2023-07-15 17:15:38 +00:00
|
|
|
|
|
|
|
# The package only has some "interactive" tests where a user must check for
|
|
|
|
# the correct output and hit enter after every check
|
|
|
|
doCheck = false;
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "bottombar" ];
|
2023-07-15 17:15:38 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
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 = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ conni2461 ];
|
|
|
|
};
|
|
|
|
}
|