Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

61 lines
1.0 KiB
Nix

{
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 ];
};
}