mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-21 16:11:22 +00:00
add confy-tui (#543546)
This commit is contained in:
@@ -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";
|
||||
|
||||
36
pkgs/by-name/co/confy-tui/package.nix
Normal file
36
pkgs/by-name/co/confy-tui/package.nix
Normal 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;
|
||||
};
|
||||
})
|
||||
Reference in New Issue
Block a user