watchgha: init at 2.4.2
This adds a new package for watchgha, which provides a small TUI utility for watching the current state of all GitHub Actions runs for a branch or repo.
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
{
|
||||
lib,
|
||||
python3Packages,
|
||||
fetchPypi,
|
||||
}:
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "watchgha";
|
||||
version = "2.4.2";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit version;
|
||||
pname = "watchgha";
|
||||
hash = "sha256-RtmCC+twOk+viWY7WTbTzuxHTM3MOww+sRuEvlemCcI=";
|
||||
};
|
||||
|
||||
build-system = with python3Packages; [
|
||||
setuptools
|
||||
];
|
||||
|
||||
dependencies = with python3Packages; [
|
||||
click
|
||||
dulwich
|
||||
exceptiongroup
|
||||
httpx
|
||||
rich
|
||||
trio
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
python3Packages.pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "watchgha" ];
|
||||
|
||||
meta = {
|
||||
description = "Live display of current GitHub action runs";
|
||||
mainProgram = "watch_gha_runs";
|
||||
homepage = "https://github.com/nedbat/watchgha";
|
||||
license = lib.licenses.apsl20;
|
||||
maintainers = with lib.maintainers; [ purcell ];
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user