blob: efea7ef624e90b5b6364877b1805dfae23a893de (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
{ lib, stdenv
, fetchurl
, gtk3
, meson
, ninja
, pkg-config
, gobject-introspection
, gnome
, dbus
, xvfb_run
}:
stdenv.mkDerivation rec {
pname = "amtk";
version = "5.3.1";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "12v3nj1bb7507ndprjggq0hpz8k719b4bwvl8sm43p3ibmn27anm";
};
nativeBuildInputs = [
meson
ninja
pkg-config
dbus
gobject-introspection
];
buildInputs = [
gtk3
];
doCheck = stdenv.isLinux;
checkPhase = ''
export NO_AT_BRIDGE=1
${xvfb_run}/bin/xvfb-run -s '-screen 0 800x600x24' dbus-run-session \
--config-file=${dbus.daemon}/share/dbus-1/session.conf \
meson test --print-errorlogs
'';
passthru.updateScript = gnome.updateScript {
packageName = pname;
versionPolicy = "none";
};
meta = with lib; {
homepage = "https://wiki.gnome.org/Projects/Amtk";
description = "Actions, Menus and Toolbars Kit for GTK applications";
maintainers = [ maintainers.manveru ];
license = licenses.lgpl21Plus;
platforms = platforms.linux;
};
}
|