2013-04-18 09:54:33 +02:00
|
|
|
{ stdenv, fetchurl, python, pkgconfig, popt, intltool, dbus_glib
|
2014-01-26 00:17:49 +01:00
|
|
|
, libX11, xextproto, libSM, libICE, libXtst, libXi, gobjectIntrospection }:
|
2012-07-10 18:03:13 +02:00
|
|
|
|
2014-10-21 20:47:30 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2016-09-18 21:21:39 +02:00
|
|
|
versionMajor = "2.22";
|
|
|
|
versionMinor = "0";
|
2012-07-18 00:29:22 +02:00
|
|
|
moduleName = "at-spi2-core";
|
|
|
|
name = "${moduleName}-${versionMajor}.${versionMinor}";
|
2012-07-10 18:03:13 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2012-07-18 00:29:22 +02:00
|
|
|
url = "mirror://gnome/sources/${moduleName}/${versionMajor}/${name}.tar.xz";
|
2016-09-18 21:21:39 +02:00
|
|
|
sha256 = "415ea3af21318308798e098be8b3a17b2f0cf2fe16cecde5ad840cf4e0f2c80a";
|
2012-07-10 18:03:13 +02:00
|
|
|
};
|
|
|
|
|
2016-08-29 02:30:01 +02:00
|
|
|
outputs = [ "out" "dev" ];
|
2015-07-26 13:43:49 +02:00
|
|
|
|
2013-04-18 09:54:33 +02:00
|
|
|
buildInputs = [
|
|
|
|
python pkgconfig popt intltool dbus_glib
|
|
|
|
libX11 xextproto libSM libICE libXtst libXi
|
2014-01-26 00:17:49 +01:00
|
|
|
gobjectIntrospection
|
2013-04-18 09:54:33 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
# ToDo: on non-NixOS we create a symlink from there?
|
|
|
|
configureFlags = "--with-dbus-daemondir=/run/current-system/sw/bin/";
|
2014-01-10 01:09:26 +01:00
|
|
|
|
2014-10-21 20:47:30 +02:00
|
|
|
NIX_LDFLAGS = with stdenv; lib.optionalString isDarwin "-lintl";
|
|
|
|
|
2014-01-10 01:09:26 +01:00
|
|
|
meta = with stdenv.lib; {
|
2015-03-31 21:23:26 +02:00
|
|
|
platforms = platforms.unix;
|
2014-01-10 01:09:26 +01:00
|
|
|
};
|
2012-07-10 18:03:13 +02:00
|
|
|
}
|
2013-12-10 21:52:50 +01:00
|
|
|
|