nixpkgs-suyu/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 17:48:03 +02:00
, gnome3 # To pass updateScript
}:
stdenv.mkDerivation rec {
2018-06-05 17:48:03 +02:00
pname = "at-spi2-atk";
2020-09-21 04:14:04 +02:00
version = "2.38.0";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
2020-09-21 04:14:04 +02: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 17:48:03 +02: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 22:50:41 +01:00
homepage = "https://gitlab.gnome.org/GNOME/at-spi2-atk";
2019-09-02 18:43:58 +02:00
license = licenses.lgpl21Plus;
maintainers = teams.gnome.members;
platforms = platforms.unix;
};
}