From 304f5ed0bedd0e71014f78e158528400405c33aa Mon Sep 17 00:00:00 2001 From: phluxjr Date: Sun, 19 Jul 2026 11:18:53 -0500 Subject: [PATCH] confy-tui: init at 3.0.0 --- pkgs/by-name/co/confy-tui/package.nix | 36 +++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 pkgs/by-name/co/confy-tui/package.nix diff --git a/pkgs/by-name/co/confy-tui/package.nix b/pkgs/by-name/co/confy-tui/package.nix new file mode 100644 index 000000000000..ea852b704127 --- /dev/null +++ b/pkgs/by-name/co/confy-tui/package.nix @@ -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; + }; +})