2018-06-05 12:18:21 +00:00
|
|
|
{ stdenv
|
|
|
|
, fetchurl
|
|
|
|
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pkgconfig
|
|
|
|
|
|
|
|
, at-spi2-core
|
|
|
|
, atk
|
|
|
|
, dbus
|
|
|
|
, glib
|
|
|
|
, libxml2
|
2018-08-06 23:31:17 +00:00
|
|
|
, fixDarwinDylibNames
|
2018-06-05 15:48:03 +00:00
|
|
|
|
|
|
|
, gnome3 # To pass updateScript
|
2018-06-05 12:18:21 +00:00
|
|
|
}:
|
2012-07-10 16:03:13 +00:00
|
|
|
|
2012-07-17 22:46:29 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2018-06-05 15:48:03 +00:00
|
|
|
pname = "at-spi2-atk";
|
2019-03-11 20:05:36 +00:00
|
|
|
version = "2.32.0";
|
2012-07-10 16:03:13 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 12:41:18 +00:00
|
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2019-03-11 20:05:36 +00:00
|
|
|
sha256 = "0p54wx6f6q7s8w0b1j0sgw87pikllp79q5g3lfiwqazs779ycl8b";
|
2012-07-10 16:03:13 +00:00
|
|
|
};
|
|
|
|
|
2018-08-06 23:31:17 +00:00
|
|
|
nativeBuildInputs = [ meson ninja pkgconfig ]
|
|
|
|
# Fixup rpaths because of meson, remove with meson-0.47
|
|
|
|
++ stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames;
|
2018-06-02 22:08:29 +00:00
|
|
|
buildInputs = [ at-spi2-core atk dbus glib libxml2 ];
|
2018-04-25 03:20:18 +00:00
|
|
|
|
2018-07-17 23:10:30 +00:00
|
|
|
doCheck = false; # fails with "No test data file provided"
|
|
|
|
|
2018-06-05 15:48:03 +00:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2014-01-10 00:09:26 +00:00
|
|
|
meta = with stdenv.lib; {
|
2018-06-02 22:08:29 +00:00
|
|
|
description = "D-Bus bridge for Assistive Technology Service Provider Interface (AT-SPI) and Accessibility Toolkit (ATK)";
|
2018-06-05 12:18:21 +00: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
|
2019-08-18 19:16:19 +00:00
|
|
|
maintainers = gnome3.maintainers;
|
2015-03-31 19:23:26 +00:00
|
|
|
platforms = platforms.unix;
|
2014-01-10 00:09:26 +00:00
|
|
|
};
|
2012-07-10 16:03:13 +00:00
|
|
|
}
|