@@ -0,0 +1,59 @@
1+{ stdenv
2+, fetchFromGitHub
3+, nix-update-script
4+, meson
5+, ninja
6+, pkg-config
7+, scdoc
8+, gnome-builder
9+, gnused
10+, glib
11+, libgee
12+, json-glib
13+, jsonrpc-glib
14+, vala
15+}:
16+
17+stdenv.mkDerivation rec {
18+ pname = "vala-language-server";
19+ version = "0.48.1";
20+
21+ src = fetchFromGitHub {
22+ owner = "benwaffle";
23+ repo = pname;
24+ rev = version;
25+ sha256 = "12k095052jkvbiyz8gzkj6w7r7p16d5m18fyikl48yvh5nln8fw0";
26+ };
27+
28+ passthru = {
29+ updateScript = nix-update-script {
30+ attrPath = pname;
31+ };
32+ };
33+
34+ nativeBuildInputs = [
35+ meson
36+ ninja
37+ pkg-config
38+ scdoc
39+ # GNOME Builder Plugin
40+ gnused
41+ gnome-builder
42+ ];
43+
44+ buildInputs = [
45+ glib
46+ libgee
47+ json-glib
48+ jsonrpc-glib
49+ vala
50+ ];
51+
52+ meta = with stdenv.lib; {
53+ description = "Code Intelligence for Vala & Genie";
54+ homepage = "https://github.com/benwaffle/vala-language-server";
55+ license = licenses.lgpl21Plus;
56+ maintainers = with maintainers; [ andreasfelix worldofpeace ];
57+ platforms = platforms.linux;
58+ };
59+}