1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
{
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";
};
}
|