mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-05 21:33:07 +00:00
70 lines
1.1 KiB
Nix
70 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 ];
|
|
};
|
|
}
|