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

45 lines
999 B
Nix
Raw Normal View History

{ stdenv
, fetchurl
, meson
, ninja
, pkgconfig
, at-spi2-core
, atk
, dbus
, glib
, libxml2
2018-06-05 16:48:03 +01:00
, gnome3 # To pass updateScript
}:
stdenv.mkDerivation rec {
2018-06-05 16:48:03 +01:00
pname = "at-spi2-atk";
2020-09-21 03:14:04 +01:00
version = "2.38.0";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
2020-09-21 03:14:04 +01:00
sha256 = "z6AIpa+CKzauYofxgYLEDJHdaZxV+qOGBYge0XXKRk8=";
};
2019-09-02 17:43:58 +01:00
nativeBuildInputs = [ meson ninja pkgconfig ];
buildInputs = [ at-spi2-core atk dbus glib libxml2 ];
doCheck = false; # fails with "No test data file provided"
2018-06-05 16:48:03 +01:00
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)";
2020-03-01 21:50:41 +00:00
homepage = "https://gitlab.gnome.org/GNOME/at-spi2-atk";
2019-09-02 17:43:58 +01:00
license = licenses.lgpl21Plus;
maintainers = teams.gnome.members;
platforms = platforms.unix;
};
}