confy-tui: init at 3.0.0

This commit is contained in:
phluxjr
2026-07-19 11:18:53 -05:00
parent 148342b223
commit 304f5ed0be

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;
};
})