mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 16:43:58 +00:00
3f21a8884e
Fixes 649a482d94
.
61 lines
1.0 KiB
Nix
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";
|
|
rev = "refs/tags/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;
|
|
maintainers = teams.mate.members;
|
|
};
|
|
}
|