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
63 lines
1.2 KiB
Nix
63 lines
1.2 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
glib,
|
|
json-glib,
|
|
meson,
|
|
ninja,
|
|
pantheon,
|
|
pkg-config,
|
|
vala,
|
|
gettext,
|
|
wrapGAppsHook3,
|
|
unstableGitUpdater,
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "vala-lint";
|
|
version = "0-unstable-2025-08-03";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "vala-lang";
|
|
repo = "vala-lint";
|
|
rev = "a1d1a7bc0f740920e592fd788a836c402fd9825c";
|
|
sha256 = "sha256-63T+wLdnGtVBxKkkkj7gJx0ebApam922Z+cmk2R7Ys0=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
gettext
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
vala
|
|
wrapGAppsHook3
|
|
];
|
|
|
|
buildInputs = [
|
|
glib
|
|
json-glib
|
|
];
|
|
|
|
doCheck = true;
|
|
|
|
passthru = {
|
|
updateScript = unstableGitUpdater {
|
|
url = "https://github.com/vala-lang/vala-lint.git";
|
|
};
|
|
};
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/vala-lang/vala-lint";
|
|
description = "Check Vala code files for code-style errors";
|
|
longDescription = ''
|
|
Small command line tool and library for checking Vala code files for code-style errors.
|
|
Based on the elementary Code-Style guidelines.
|
|
'';
|
|
license = licenses.gpl2Plus;
|
|
platforms = platforms.linux;
|
|
teams = [ teams.pantheon ];
|
|
mainProgram = "io.elementary.vala-lint";
|
|
};
|
|
}
|