1{ stdenv, fetchurl, pkgconfig, perl, glib, libintlOrEmpty, gobjectIntrospection, gnome3 }:
2
3let
4 pname = "atk";
5 version = "2.26.1";
6in
7stdenv.mkDerivation rec {
8 name = "${pname}-${version}";
9
10 src = fetchurl {
11 url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz";
12 sha256 = "1jwpx8az0iifw176dc2hl4mmg6gvxzxdkd1qvg4ds7c5hdmzy07g";
13 };
14
15 enableParallelBuilding = true;
16
17 outputs = [ "out" "dev" ];
18
19 buildInputs = libintlOrEmpty;
20
21 nativeBuildInputs = [ pkgconfig perl gobjectIntrospection ];
22
23 propagatedBuildInputs = [
24 # Required by atk.pc
25 glib
26 ];
27
28 doCheck = true;
29
30 passthru = {
31 updateScript = gnome3.updateScript {
32 packageName = pname;
33 };
34 };
35
36 meta = {
37 description = "Accessibility toolkit";
38
39 longDescription = ''
40 ATK is the Accessibility Toolkit. It provides a set of generic
41 interfaces allowing accessibility technologies such as screen
42 readers to interact with a graphical user interface. Using the
43 ATK interfaces, accessibility tools have full access to view and
44 control running applications.
45 '';
46
47 homepage = http://library.gnome.org/devel/atk/;
48
49 license = stdenv.lib.licenses.lgpl2Plus;
50
51 maintainers = with stdenv.lib.maintainers; [ raskin ];
52 platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
53 };
54
55}