depot/third_party/nixpkgs/pkgs/applications/misc/maliit-framework/default.nix
Default email 01ed8ef136 Project import generated by Copybara.
GitOrigin-RevId: 20fc948445a6c22d4e8d5178e9a6bc6e1f5417c8
2022-11-21 19:40:18 +02:00

69 lines
1.1 KiB
Nix

{ mkDerivation
, lib
, fetchFromGitHub
, fetchpatch
, 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.3.0";
src = fetchFromGitHub {
owner = "maliit";
repo = "framework";
rev = "refs/tags/${version}";
sha256 = "sha256-q+hiupwlA0PfG+xtomCUp2zv6HQrGgmOd9CU193ucrY=";
};
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 ];
};
}