Skip to content

Commit b10274b

Browse files
authored
isd: init at 0.2.0 (NixOS#377289)
2 parents 08b7764 + d794ff4 commit b10274b

File tree

1 file changed

+62
-0
lines changed

1 file changed

+62
-0
lines changed

pkgs/by-name/is/isd/package.nix

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
{
2+
lib,
3+
python3Packages,
4+
fetchFromGitHub,
5+
nix-update-script,
6+
}:
7+
8+
python3Packages.buildPythonApplication rec {
9+
pname = "isd";
10+
version = "0.2.0";
11+
pyproject = true;
12+
13+
src = fetchFromGitHub {
14+
owner = "isd-project";
15+
repo = "isd";
16+
tag = "v${version}";
17+
hash = "sha256-YOQoI9PB096C/wNF9y5nrXkpJGbO6cXQ2U6I2Ece2PM=";
18+
};
19+
20+
build-system = with python3Packages; [
21+
hatchling
22+
];
23+
24+
dependencies = with python3Packages; [
25+
pfzy
26+
pydantic
27+
pydantic-settings
28+
pyyaml
29+
textual
30+
types-pyyaml
31+
xdg-base-dirs
32+
];
33+
34+
pythonRelaxDeps = [
35+
"pydantic"
36+
"pydantic-settings"
37+
"types-pyyaml"
38+
];
39+
40+
pythonImportsCheck = [
41+
"isd"
42+
];
43+
44+
passthru.updateScript = nix-update-script { };
45+
46+
meta = {
47+
description = "TUI to interactively work with systemd units";
48+
longDescription = ''
49+
isd (interactive systemd) is a TUI offering fuzzy search for systemd
50+
units, auto-refreshing previews, smart `sudo` handling, and a fully
51+
customizable interface for power-users and newcomers alike.
52+
'';
53+
homepage = "https://github.com/isd-project/isd";
54+
changelog = "https://github.com/isd-project/isd/releases/tag/v${version}";
55+
license = lib.licenses.gpl3Only;
56+
mainProgram = "isd";
57+
maintainers = with lib.maintainers; [
58+
gepbird
59+
];
60+
platforms = lib.platforms.linux;
61+
};
62+
}

0 commit comments

Comments
 (0)