mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 06:03:40 +00:00
69 lines
1.0 KiB
Nix
69 lines
1.0 KiB
Nix
{ mkDerivation
|
|
, lib
|
|
, fetchFromGitHub
|
|
|
|
, 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";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|