2018-06-02 13:48:43 +01:00
{ stdenv
, fetchurl
, meson
, ninja
, pkgconfig
, gobjectIntrospection
, dbus
, glib
, 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
, libXi
} :
2012-07-10 17:03:13 +01:00
2014-10-21 19:47:30 +01:00
stdenv . mkDerivation rec {
2018-06-02 13:48:43 +01:00
name = " ${ moduleName } - ${ version } " ;
2012-07-17 23:29:22 +01:00
moduleName = " a t - s p i 2 - c o r e " ;
2018-06-02 13:48:43 +01:00
version = " 2 . 2 8 . 0 " ;
2012-07-10 17:03:13 +01:00
src = fetchurl {
2018-06-02 13:48:43 +01:00
url = " m i r r o r : / / g n o m e / s o u r c e s / ${ moduleName } / ${ stdenv . lib . versions . majorMinor version } / ${ name } . t a r . x z " ;
2018-06-02 13:40:26 +01:00
sha256 = " 1 1 q w d x x x 4 j m 0 z j 0 4 x y d l w a h 4 1 a x i z 2 7 6 d c k k i q l 3 r r 0 w n 5 x 4 i 8 j 2 " ;
2012-07-10 17:03:13 +01:00
} ;
2016-08-29 01:30:01 +01:00
outputs = [ " o u t " " d e v " ] ;
2015-07-26 12:43:49 +01:00
2018-06-02 13:48:43 +01:00
nativeBuildInputs = [ meson ninja pkgconfig gobjectIntrospection ] ;
buildInputs = [ dbus glib libX11 libXtst libXi ] ;
2018-04-25 04:20:18 +01:00
2014-01-10 00:09:26 +00:00
meta = with stdenv . lib ; {
2018-06-02 13:48:43 +01:00
description = " A s s i s t i v e T e c h n o l o g y S e r v i c e P r o v i d e r I n t e r f a c e p r o t o c o l d e f i n i t i o n s a n d d a e m o n f o r D - B u s " ;
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 ] ;
2015-03-31 20:23:26 +01:00
platforms = platforms . unix ;
2014-01-10 00:09:26 +00:00
} ;
2012-07-10 17:03:13 +01:00
}