2018-02-25 02:23:58 +00:00
|
|
|
{ stdenv, fetchurl, python, pkgconfig, popt, gettext, dbus-glib
|
2014-01-25 23:17:49 +00:00
|
|
|
, libX11, xextproto, libSM, libICE, libXtst, libXi, gobjectIntrospection }:
|
2012-07-10 17:03:13 +01:00
|
|
|
|
2014-10-21 19:47:30 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2017-09-17 13:55:01 +01:00
|
|
|
versionMajor = "2.26";
|
2017-12-03 19:56:09 +00:00
|
|
|
versionMinor = "2";
|
2012-07-17 23:29:22 +01:00
|
|
|
moduleName = "at-spi2-core";
|
|
|
|
name = "${moduleName}-${versionMajor}.${versionMinor}";
|
2012-07-10 17:03:13 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2012-07-17 23:29:22 +01:00
|
|
|
url = "mirror://gnome/sources/${moduleName}/${versionMajor}/${name}.tar.xz";
|
2017-12-03 19:56:09 +00:00
|
|
|
sha256 = "0596ghkamkxgv08r4a1pdhm06qd5zzgcfqsv64038w9xbvghq3n8";
|
2012-07-10 17:03:13 +01:00
|
|
|
};
|
|
|
|
|
2016-08-29 01:30:01 +01:00
|
|
|
outputs = [ "out" "dev" ];
|
2015-07-26 12:43:49 +01:00
|
|
|
|
2017-12-03 19:56:09 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig gettext gobjectIntrospection ];
|
2013-04-18 08:54:33 +01:00
|
|
|
buildInputs = [
|
2018-02-25 02:23:58 +00:00
|
|
|
python popt dbus-glib
|
2013-04-18 08:54:33 +01:00
|
|
|
libX11 xextproto libSM libICE libXtst libXi
|
|
|
|
];
|
|
|
|
|
|
|
|
# ToDo: on non-NixOS we create a symlink from there?
|
|
|
|
configureFlags = "--with-dbus-daemondir=/run/current-system/sw/bin/";
|
2014-01-10 00:09:26 +00:00
|
|
|
|
2014-10-21 19:47:30 +01:00
|
|
|
NIX_LDFLAGS = with stdenv; lib.optionalString isDarwin "-lintl";
|
|
|
|
|
2014-01-10 00:09:26 +00:00
|
|
|
meta = with stdenv.lib; {
|
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
|
|
|
}
|
2013-12-10 20:52:50 +00:00
|
|
|
|