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";
|
|
|
|
version = "2.0.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "maliit";
|
|
|
|
repo = "framework";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "138jyvw130kmrldksbk4l38gvvahh3x51zi4vyplad0z5nxmbazb";
|
|
|
|
};
|
|
|
|
|
2022-09-30 11:47:45 +00:00
|
|
|
# in master post 2.2.1, see https://github.com/maliit/framework/issues/106
|
|
|
|
patches = [
|
|
|
|
(fetchpatch {
|
|
|
|
name = "fix-pkg-config.patch";
|
|
|
|
url = "https://github.com/maliit/framework/commit/1e20a4a5113f1c092295f5a5f04ab6e584f6fcff.patch";
|
|
|
|
sha256 = "0h7jfqnqvjka626wx2z2g150rch4air7q3zbq59gcb12g7x6gfyn";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
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";
|
|
|
|
homepage = "http://maliit.github.io/";
|
|
|
|
license = licenses.lgpl21Plus;
|
|
|
|
maintainers = with maintainers; [ samueldr ];
|
|
|
|
};
|
|
|
|
}
|