add confy-tui (#543546)

This commit is contained in:
isabel
2026-07-19 21:19:23 +00:00
committed by GitHub
2 changed files with 42 additions and 0 deletions

View File

@@ -22085,6 +22085,12 @@
githubId = 421510;
name = "Noé Rubinstein";
};
phluxjr = {
email = "phluxjr@phluxjr.net";
github = "phluxjr";
githubId = 185956030;
name = "phluxjr";
};
pho = {
email = "phofin@gmail.com";
github = "pho";

View File

@@ -0,0 +1,36 @@
{
lib,
python3Packages,
fetchFromGitHub,
}:
python3Packages.buildPythonApplication (finalAttrs: {
pname = "confy-tui";
version = "3.0.0";
pyproject = true;
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "phluxjr";
repo = "confy";
rev = "v${finalAttrs.version}";
hash = "sha256-yhzmkIPrOckDxoB10RBX5ul/rYzVKtU6l6O1Zm69e9c=";
};
build-system = [
python3Packages.hatchling
];
postInstall = ''
install -Dm644 confy.1 $out/share/man/man1/confy.1
'';
meta = {
description = "config manager tui for linux/unix systems";
homepage = "https://github.com/phluxjr/confy";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ phluxjr ];
mainProgram = "confy";
platforms = lib.platforms.unix;
};
})