nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 mkDerivation,
3 lib,
4 fetchFromGitHub,
5 fetchpatch,
6
7 qtbase,
8
9 at-spi2-atk,
10 at-spi2-core,
11 libepoxy,
12 gtk3,
13 libdatrie,
14 libselinux,
15 libsepol,
16 libthai,
17 pcre,
18 util-linux,
19 wayland,
20 xorg,
21
22 cmake,
23 doxygen,
24 pkg-config,
25 wayland-protocols,
26 wayland-scanner,
27}:
28
29mkDerivation {
30 pname = "maliit-framework";
31 version = "2.3.0-unstable-2024-06-24";
32
33 src = fetchFromGitHub {
34 owner = "maliit";
35 repo = "framework";
36 rev = "ba6f7eda338a913f2c339eada3f0382e04f7dd67";
37 hash = "sha256-iwWLnstQMG8F6uE5rKF6t2X43sXQuR/rIho2RN/D9jE=";
38 };
39
40 buildInputs = [
41 at-spi2-atk
42 at-spi2-core
43 libepoxy
44 gtk3
45 libdatrie
46 libselinux
47 libsepol
48 libthai
49 pcre
50 util-linux
51 wayland
52 xorg.libXdmcp
53 xorg.libXtst
54 ];
55
56 nativeBuildInputs = [
57 cmake
58 doxygen
59 pkg-config
60 wayland-protocols
61 wayland-scanner
62 ];
63
64 cmakeFlags = [
65 "-DQT5_PLUGINS_INSTALL_DIR=${placeholder "out"}/${qtbase.qtPluginPrefix}"
66 ];
67
68 meta = with lib; {
69 description = "Core libraries of Maliit and server";
70 mainProgram = "maliit-server";
71 homepage = "http://maliit.github.io/";
72 license = licenses.lgpl21Plus;
73 maintainers = [ ];
74 };
75}