Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

61 lines
1.0 KiB
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
stdenv,
fetchFromGitHub,
meson,
ninja,
pkg-config,
glib,
gtk3-x11,
gobject-introspection,
libxklavier,
gitUpdater,
}:
stdenv.mkDerivation rec {
pname = "libmatekbd";
version = "1.28.0";
src = fetchFromGitHub {
owner = "mate-desktop";
repo = "libmatekbd";
tag = "v${version}";
hash = "sha256-6s8JiuXbBWOHxbNSuO8rglzOCRKlQ9fx/GsYYc08GmI=";
};
strictDeps = true;
depsBuildBuild = [ pkg-config ];
nativeBuildInputs = [
meson
ninja
pkg-config
glib
gobject-introspection
];
buildInputs = [
glib
gtk3-x11
libxklavier
];
postInstall = ''
glib-compile-schemas $out/share/glib-2.0/schemas
'';
passthru.updateScript = gitUpdater {
rev-prefix = "v";
odd-unstable = true;
};
meta = with lib; {
description = "Keyboard management library for MATE";
homepage = "https://github.com/mate-desktop/libmatekbd";
license = licenses.gpl2Plus;
platforms = platforms.unix;
teams = [ teams.mate ];
};
}