Files
nixpkgs/pkgs/by-name/is/isd/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

64 lines
1.3 KiB
Nix

{
lib,
python3Packages,
fetchFromGitHub,
nix-update-script,
}:
python3Packages.buildPythonApplication rec {
pname = "isd";
version = "0.6.0";
pyproject = true;
src = fetchFromGitHub {
owner = "kainctl";
repo = "isd";
tag = "v${version}";
hash = "sha256-0RBalvqa2EM7FsgR4CamqkbKrD5QCrz9stk4ijqZi1Q=";
};
build-system = with python3Packages; [
hatchling
setuptools
];
dependencies = with python3Packages; [
pfzy
pydantic
pydantic-settings
pyyaml
textual
types-pyyaml
xdg-base-dirs
];
pythonRelaxDeps = [
"pydantic"
"pydantic-settings"
"types-pyyaml"
];
pythonImportsCheck = [
"isd_tui"
];
passthru.updateScript = nix-update-script { };
meta = {
description = "TUI to interactively work with systemd units";
longDescription = ''
isd (interactive systemd) is a TUI offering fuzzy search for systemd
units, auto-refreshing previews, smart `sudo` handling, and a fully
customizable interface for power-users and newcomers alike.
'';
homepage = "https://github.com/kainctl/isd";
changelog = "https://github.com/kainctl/isd/releases/tag/v${version}";
license = lib.licenses.gpl3Only;
mainProgram = "isd";
maintainers = with lib.maintainers; [
gepbird
];
platforms = lib.platforms.linux;
};
}