nixpkgs/pkgs/development/libraries/at-spi2-atk/default.nix

45 lines
992 B
Nix
Raw Normal View History

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