mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 07:34:11 +00:00
9f054b5e1a
(It was requested by them.) I left one case due to fetching from their personal repo: pkgs/desktops/pantheon/desktop/extra-elementary-contracts/default.nix
60 lines
993 B
Nix
60 lines
993 B
Nix
{ lib, stdenv
|
|
, 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";
|
|
version = "0.48.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "benwaffle";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-vtb2l4su+zuwGbS9F+Sv0tDInQMH4Uw6GjT+s7fHIio=";
|
|
};
|
|
|
|
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
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Code Intelligence for Vala & Genie";
|
|
homepage = "https://github.com/benwaffle/vala-language-server";
|
|
license = licenses.lgpl21Plus;
|
|
maintainers = with maintainers; [ andreasfelix ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|