at-spi2-atk: add updateScript hook
This commit is contained in:
parent
d4fe62dc46
commit
d4e5243207
@ -10,21 +10,29 @@
|
|||||||
, dbus
|
, dbus
|
||||||
, glib
|
, glib
|
||||||
, libxml2
|
, libxml2
|
||||||
|
|
||||||
|
, gnome3 # To pass updateScript
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "${moduleName}-${version}";
|
name = "${pname}-${version}";
|
||||||
moduleName = "at-spi2-atk";
|
pname = "at-spi2-atk";
|
||||||
version = "2.26.2";
|
version = "2.26.2";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/${moduleName}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
||||||
sha256 = "0vkan52ab9vrkknnv8y4f1cspk8x7xd10qx92xk9ys71p851z2b1";
|
sha256 = "0vkan52ab9vrkknnv8y4f1cspk8x7xd10qx92xk9ys71p851z2b1";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ meson ninja pkgconfig ];
|
nativeBuildInputs = [ meson ninja pkgconfig ];
|
||||||
buildInputs = [ at-spi2-core atk dbus glib libxml2 ];
|
buildInputs = [ at-spi2-core atk dbus glib libxml2 ];
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
updateScript = gnome3.updateScript {
|
||||||
|
packageName = pname;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "D-Bus bridge for Assistive Technology Service Provider Interface (AT-SPI) and Accessibility Toolkit (ATK)";
|
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;
|
homepage = https://gitlab.gnome.org/GNOME/at-spi2-atk;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user