3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/at-spi2-core/default.nix

47 lines
1.3 KiB
Nix
Raw Normal View History

{ stdenv
, fetchurl
, meson
, ninja
, pkgconfig
, gobjectIntrospection
, dbus
, glib
, libX11
2018-06-05 16:57:18 +01:00
, 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
2018-06-05 16:57:18 +01:00
, gnome3 # To pass updateScript
}:
stdenv.mkDerivation rec {
2018-06-05 16:57:18 +01:00
name = "${pname}-${version}";
pname = "at-spi2-core";
version = "2.28.0";
src = fetchurl {
2018-06-05 16:57:18 +01:00
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
2018-06-02 13:40:26 +01:00
sha256 = "11qwdxxx4jm0zj04xydlwah41axiz276dckkiql3rr0wn5x4i8j2";
};
outputs = [ "out" "dev" ];
nativeBuildInputs = [ meson ninja pkgconfig gobjectIntrospection ];
buildInputs = [ dbus glib libX11 libXtst libXi ];
2018-06-05 16:57:18 +01:00
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
};
};
meta = with stdenv.lib; {
description = "Assistive Technology Service Provider Interface protocol definitions and daemon for D-Bus";
homepage = https://gitlab.gnome.org/GNOME/at-spi2-core;
license = licenses.lgpl2Plus; # NOTE: 2018-06-06: Please check the license when upstream sorts-out licensing: https://gitlab.gnome.org/GNOME/at-spi2-core/issues/2
maintainers = with maintainers; [ jtojnar gnome3.maintainers ];
platforms = platforms.unix;
};
}