depot/third_party/nixpkgs/pkgs/desktops/mate/libmatekbd/default.nix

26 lines
717 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, pkgconfig, 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 = [ pkgconfig 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 ];
};
}