Hi
I am trying to package a vala app named swaysettings (GitHub - ErikReider/SwaySettings)
I created a derivation but if fails with the following error error: Package 'accountsservice' not found in specified Vala API directories or GObject-Introspection GIR directories
Here is the derivation:
{ pkgs }:
with pkgs;
stdenv.mkDerivation rec {
pname = "sway-settings";
version = "0.0";
src = fetchFromGitHub {
owner = "ErikReider";
repo = "SwaySettings";
rev = "master";
hash = "sha256-EVGY4LbiH+RB56sYGOkYCdOc01LqbJIg9mJjgvFd4oY=";
};
nativeBuildInputs = [ meson vala pkg-config gettext ninja ];
buildInputs = [ glib gtk3 libhandy json-glib libgee pantheon.granite libxml2 accountsservice gobject-introspection appstream-glib desktop-file-utils ];
meta = with lib; {
description = "Sway settings utility";
platforms = platforms.linux;
};
}
I don’t know how to use vala exactly but I don’t understand why it does not find the accountsservice vapi as it logs no error about finding it when calling meson.