2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv
|
2020-11-09 02:44:08 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, nix-update-script
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pkg-config
|
|
|
|
, scdoc
|
|
|
|
, gnome-builder
|
|
|
|
, gnused
|
|
|
|
, glib
|
|
|
|
, libgee
|
|
|
|
, json-glib
|
|
|
|
, jsonrpc-glib
|
|
|
|
, vala
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "vala-language-server";
|
2021-04-22 21:44:10 +01:00
|
|
|
version = "0.48.2";
|
2020-11-09 02:44:08 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "benwaffle";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2021-04-22 21:44:10 +01:00
|
|
|
sha256 = "sha256-vtb2l4su+zuwGbS9F+Sv0tDInQMH4Uw6GjT+s7fHIio=";
|
2020-11-09 02:44:08 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
updateScript = nix-update-script {
|
|
|
|
attrPath = pname;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkg-config
|
|
|
|
scdoc
|
|
|
|
# GNOME Builder Plugin
|
|
|
|
gnused
|
|
|
|
gnome-builder
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
glib
|
|
|
|
libgee
|
|
|
|
json-glib
|
|
|
|
jsonrpc-glib
|
|
|
|
vala
|
|
|
|
];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-11-09 02:44:08 +00:00
|
|
|
description = "Code Intelligence for Vala & Genie";
|
|
|
|
homepage = "https://github.com/benwaffle/vala-language-server";
|
|
|
|
license = licenses.lgpl21Plus;
|
2021-05-05 10:25:45 +01:00
|
|
|
maintainers = with maintainers; [ andreasfelix ];
|
2020-11-09 02:44:08 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|