about summary refs log tree commit diff
path: root/pkgs/desktops/mate/libmatekbd/default.nix
blob: 1b66bb97efee78aaca78a2ce95deeef8b417af14 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ lib, stdenv, fetchurl, pkg-config, gettext, gtk3, libxklavier }:

stdenv.mkDerivation rec {
  pname = "libmatekbd";
  version = "1.24.1";

  src = fetchurl {
    url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
    sha256 = "17mcxfkvl14p04id3n5kbhpjwjq00c8wmbyciyy2hm7kwdln6zx8";
  };

  nativeBuildInputs = [ pkg-config gettext ];

  buildInputs = [ gtk3 libxklavier ];

  enableParallelBuilding = true;

  meta = with lib; {
    description = "Keyboard management library for MATE";
    homepage = "https://github.com/mate-desktop/libmatekbd";
    license = licenses.gpl2;
    platforms = platforms.unix;
    maintainers = [ maintainers.romildo ];
  };
}