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