2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv
|
2020-11-09 15:59:12 +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-12-26 17:43:05 +00:00
|
|
|
version = "0.48.4";
|
2020-11-09 15:59:12 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2021-07-14 22:03:04 +00:00
|
|
|
owner = "Prince781";
|
2020-11-09 15:59:12 +00:00
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2021-12-26 17:43:05 +00:00
|
|
|
sha256 = "sha256-vCQ/j0DxG9sSEquPh9TtZ5hTADPh0d8sDIDSJdUDK4s=";
|
2020-11-09 15:59:12 +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-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-11-09 15:59:12 +00:00
|
|
|
description = "Code Intelligence for Vala & Genie";
|
2021-07-14 22:03:04 +00:00
|
|
|
homepage = "https://github.com/Prince781/vala-language-server";
|
2020-11-09 15:59:12 +00:00
|
|
|
license = licenses.lgpl21Plus;
|
2021-05-20 23:08:51 +00:00
|
|
|
maintainers = with maintainers; [ andreasfelix ];
|
2020-11-09 15:59:12 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|