2013-04-18 07:54:33 +00:00
|
|
|
{ stdenv, fetchurl, python, pkgconfig, popt, intltool, dbus_glib
|
2014-01-25 23:17:49 +00:00
|
|
|
, libX11, xextproto, libSM, libICE, libXtst, libXi, gobjectIntrospection }:
|
2012-07-10 16:03:13 +00:00
|
|
|
|
2014-10-21 18:47:30 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2015-05-27 21:10:59 +00:00
|
|
|
versionMajor = "2.16";
|
2014-03-27 19:53:50 +00:00
|
|
|
versionMinor = "0";
|
2012-07-17 22:29:22 +00:00
|
|
|
moduleName = "at-spi2-core";
|
|
|
|
name = "${moduleName}-${versionMajor}.${versionMinor}";
|
2012-07-10 16:03:13 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2012-07-17 22:29:22 +00:00
|
|
|
url = "mirror://gnome/sources/${moduleName}/${versionMajor}/${name}.tar.xz";
|
2015-05-27 21:10:59 +00:00
|
|
|
sha256 = "1l3l39mw23zyjlcqidvkyqlr4gwbhplzw2hcv3qvn6p8ikxpf2qw";
|
2012-07-10 16:03:13 +00:00
|
|
|
};
|
|
|
|
|
2015-07-26 11:43:49 +00:00
|
|
|
outputs = [ "out" "doc" ];
|
|
|
|
|
2013-04-18 07:54:33 +00:00
|
|
|
buildInputs = [
|
|
|
|
python pkgconfig popt intltool dbus_glib
|
|
|
|
libX11 xextproto libSM libICE libXtst libXi
|
2014-01-25 23:17:49 +00:00
|
|
|
gobjectIntrospection
|
2013-04-18 07:54:33 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
# 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 18:47:30 +00:00
|
|
|
NIX_LDFLAGS = with stdenv; lib.optionalString isDarwin "-lintl";
|
|
|
|
|
2014-01-10 00:09:26 +00:00
|
|
|
meta = with stdenv.lib; {
|
2015-03-31 19:23:26 +00:00
|
|
|
platforms = platforms.unix;
|
2014-01-10 00:09:26 +00:00
|
|
|
};
|
2012-07-10 16:03:13 +00:00
|
|
|
}
|
2013-12-10 20:52:50 +00:00
|
|
|
|