2021-12-06 16:07:01 +00:00
|
|
|
{ mkDerivation
|
|
|
|
, lib
|
|
|
|
, fetchFromGitHub
|
2022-09-30 11:47:45 +00:00
|
|
|
, fetchpatch
|
2021-12-06 16:07:01 +00:00
|
|
|
|
|
|
|
, at-spi2-atk
|
|
|
|
, at-spi2-core
|
|
|
|
, libepoxy
|
|
|
|
, gtk3
|
|
|
|
, libdatrie
|
|
|
|
, libselinux
|
|
|
|
, libsepol
|
|
|
|
, libthai
|
|
|
|
, pcre
|
|
|
|
, util-linux
|
|
|
|
, wayland
|
|
|
|
, xorg
|
|
|
|
|
|
|
|
, cmake
|
|
|
|
, doxygen
|
|
|
|
, pkg-config
|
|
|
|
, wayland-protocols
|
|
|
|
}:
|
|
|
|
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "maliit-framework";
|
2022-11-21 17:40:18 +00:00
|
|
|
version = "2.3.0";
|
2021-12-06 16:07:01 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "maliit";
|
|
|
|
repo = "framework";
|
2022-11-21 17:40:18 +00:00
|
|
|
rev = "refs/tags/${version}";
|
|
|
|
sha256 = "sha256-q+hiupwlA0PfG+xtomCUp2zv6HQrGgmOd9CU193ucrY=";
|
2021-12-06 16:07:01 +00:00
|
|
|
};
|
|
|
|
|
2023-02-16 17:41:37 +00:00
|
|
|
patches = [
|
|
|
|
# FIXME: backport GCC 12 build fix, remove for next release
|
|
|
|
(fetchpatch {
|
|
|
|
url = "https://github.com/maliit/framework/commit/86e55980e3025678882cb9c4c78614f86cdc1f04.diff";
|
|
|
|
hash = "sha256-5R+sCI05vJX5epu6hcDSWWzlZ8ns1wKEJ+u8xC6d8Xo=";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
buildInputs = [
|
|
|
|
at-spi2-atk
|
|
|
|
at-spi2-core
|
|
|
|
libepoxy
|
|
|
|
gtk3
|
|
|
|
libdatrie
|
|
|
|
libselinux
|
|
|
|
libsepol
|
|
|
|
libthai
|
|
|
|
pcre
|
|
|
|
util-linux
|
|
|
|
wayland
|
|
|
|
xorg.libXdmcp
|
|
|
|
xorg.libXtst
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
doxygen
|
|
|
|
pkg-config
|
|
|
|
wayland-protocols
|
|
|
|
];
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
cmakeFlags+="-DQT5_PLUGINS_INSTALL_DIR=$out/$qtPluginPrefix"
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Core libraries of Maliit and server";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "maliit-server";
|
2021-12-06 16:07:01 +00:00
|
|
|
homepage = "http://maliit.github.io/";
|
|
|
|
license = licenses.lgpl21Plus;
|
2024-07-31 10:19:44 +00:00
|
|
|
maintainers = [ ];
|
2021-12-06 16:07:01 +00:00
|
|
|
};
|
|
|
|
}
|