2018-06-05 14:18:21 +02:00
|
|
|
{ stdenv
|
|
|
|
, fetchurl
|
|
|
|
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pkgconfig
|
|
|
|
|
|
|
|
, at-spi2-core
|
|
|
|
, atk
|
|
|
|
, dbus
|
|
|
|
, glib
|
|
|
|
, libxml2
|
2018-08-07 01:31:17 +02:00
|
|
|
, fixDarwinDylibNames
|
2018-06-05 17:48:03 +02:00
|
|
|
|
|
|
|
, gnome3 # To pass updateScript
|
2018-06-05 14:18:21 +02:00
|
|
|
}:
|
2012-07-10 18:03:13 +02:00
|
|
|
|
2012-07-18 00:46:29 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2018-06-05 17:48:03 +02:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
pname = "at-spi2-atk";
|
2018-09-13 06:45:45 +02:00
|
|
|
version = "2.30.0";
|
2012-07-10 18:03:13 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-06-05 17:48:03 +02:00
|
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
2018-09-13 06:45:45 +02:00
|
|
|
sha256 = "16lav8k3mcxf2hblfh95zcw41glmb92wwwwljrf10yza0h85gqg2";
|
2012-07-10 18:03:13 +02:00
|
|
|
};
|
|
|
|
|
2018-08-07 01:31:17 +02:00
|
|
|
nativeBuildInputs = [ meson ninja pkgconfig ]
|
|
|
|
# Fixup rpaths because of meson, remove with meson-0.47
|
|
|
|
++ stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames;
|
2018-06-03 00:08:29 +02:00
|
|
|
buildInputs = [ at-spi2-core atk dbus glib libxml2 ];
|
2018-04-25 05:20:18 +02:00
|
|
|
|
2018-07-18 01:10:30 +02:00
|
|
|
doCheck = false; # fails with "No test data file provided"
|
|
|
|
|
2018-06-05 17:48:03 +02:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2014-01-10 01:09:26 +01:00
|
|
|
meta = with stdenv.lib; {
|
2018-06-03 00:08:29 +02:00
|
|
|
description = "D-Bus bridge for Assistive Technology Service Provider Interface (AT-SPI) and Accessibility Toolkit (ATK)";
|
2018-06-05 14:18:21 +02:00
|
|
|
homepage = https://gitlab.gnome.org/GNOME/at-spi2-atk;
|
|
|
|
license = licenses.lgpl2Plus; # NOTE: 2018-06-06: Please check the license when upstream sorts-out licensing: https://gitlab.gnome.org/GNOME/at-spi2-atk/issues/2
|
|
|
|
maintainers = with maintainers; [ jtojnar gnome3.maintainers ];
|
2015-03-31 21:23:26 +02:00
|
|
|
platforms = platforms.unix;
|
2014-01-10 01:09:26 +01:00
|
|
|
};
|
2012-07-10 18:03:13 +02:00
|
|
|
}
|