commit dce3981074c59a4f4bf7ae6fd7d205c484868a1e parent 38ba13db7c5ea4f35f9824b41bc3761cd6cd33e2 Author: Nikolay Korotkiy <sikmir@disroot.org> Date: Tue, 18 Nov 2025 00:17:51 +0400 Add systemdlint Diffstat:
| A | pkgs/by-name/sy/systemdlint/package.nix | | | 33 | +++++++++++++++++++++++++++++++++ |
1 file changed, 33 insertions(+), 0 deletions(-)
diff --git a/pkgs/by-name/sy/systemdlint/package.nix b/pkgs/by-name/sy/systemdlint/package.nix @@ -0,0 +1,33 @@ +{ + lib, + fetchFromGitHub, + python3Packages, +}: + +python3Packages.buildPythonApplication rec { + pname = "systemdlint"; + version = "1.4.0"; + pyproject = true; + + src = fetchFromGitHub { + owner = "priv-kweihmann"; + repo = "systemdlint"; + tag = version; + hash = "sha256-cJpZkqj4IWxofFWju/s8K3JoCVigSQHpN3o1+rG1/iM="; + }; + + build-system = with python3Packages; [ setuptools ]; + + dependencies = with python3Packages; [ + systemdunitparser + anytree + ]; + + meta = { + description = "Systemd Unitfile Linter"; + homepage = "https://github.com/priv-kweihmann/systemdlint"; + license = lib.licenses.bsd2; + maintainers = [ lib.maintainers.sikmir ]; + mainProgram = "systemdlint"; + }; +}
