nixpkgs/pkgs/development/libraries/at-spi2-atk/default.nix
2020-10-24 01:15:51 +02:00

45 lines
999 B
Nix

{ stdenv
, fetchurl
, meson
, ninja
, pkgconfig
, at-spi2-core
, atk
, dbus
, glib
, libxml2
, gnome3 # To pass updateScript
}:
stdenv.mkDerivation rec {
pname = "at-spi2-atk";
version = "2.38.0";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "z6AIpa+CKzauYofxgYLEDJHdaZxV+qOGBYge0XXKRk8=";
};
nativeBuildInputs = [ meson ninja pkgconfig ];
buildInputs = [ at-spi2-core atk dbus glib libxml2 ];
doCheck = false; # fails with "No test data file provided"
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
};
};
meta = with stdenv.lib; {
description = "D-Bus bridge for Assistive Technology Service Provider Interface (AT-SPI) and Accessibility Toolkit (ATK)";
homepage = "https://gitlab.gnome.org/GNOME/at-spi2-atk";
license = licenses.lgpl21Plus;
maintainers = teams.gnome.members;
platforms = platforms.unix;
};
}