at-spi2-core: add updateScript hook
This commit is contained in:
parent
f70ef8f411
commit
a381349ad8
@ -9,17 +9,19 @@
|
|||||||
, dbus
|
, dbus
|
||||||
, glib
|
, glib
|
||||||
, libX11
|
, libX11
|
||||||
, libXtst # at-spi2-core can be build with custom option not to support X, but due to it is a aplication client-side library, GUI-less usage is a very rare case
|
, libXtst # at-spi2-core can be build without X support, but due it is a client-side library, GUI-less usage is a very rare case
|
||||||
, libXi
|
, libXi
|
||||||
|
|
||||||
|
, gnome3 # To pass updateScript
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "${moduleName}-${version}";
|
name = "${pname}-${version}";
|
||||||
moduleName = "at-spi2-core";
|
pname = "at-spi2-core";
|
||||||
version = "2.28.0";
|
version = "2.28.0";
|
||||||
|
|
||||||
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 = "11qwdxxx4jm0zj04xydlwah41axiz276dckkiql3rr0wn5x4i8j2";
|
sha256 = "11qwdxxx4jm0zj04xydlwah41axiz276dckkiql3rr0wn5x4i8j2";
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -28,6 +30,12 @@ stdenv.mkDerivation rec {
|
|||||||
nativeBuildInputs = [ meson ninja pkgconfig gobjectIntrospection ];
|
nativeBuildInputs = [ meson ninja pkgconfig gobjectIntrospection ];
|
||||||
buildInputs = [ dbus glib libX11 libXtst libXi ];
|
buildInputs = [ dbus glib libX11 libXtst libXi ];
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
updateScript = gnome3.updateScript {
|
||||||
|
packageName = pname;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Assistive Technology Service Provider Interface protocol definitions and daemon for D-Bus";
|
description = "Assistive Technology Service Provider Interface protocol definitions and daemon for D-Bus";
|
||||||
homepage = https://gitlab.gnome.org/GNOME/at-spi2-core;
|
homepage = https://gitlab.gnome.org/GNOME/at-spi2-core;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user