nixpkgs/pkgs/development/libraries/at-spi2-core/default.nix

33 lines
919 B
Nix
Raw Normal View History

{ stdenv, fetchurl, python, pkgconfig, popt, intltool, dbus_glib
, libX11, xextproto, libSM, libICE, libXtst, libXi, gobjectIntrospection }:
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}";
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";
};
outputs = [ "out" "doc" ];
buildInputs = [
python pkgconfig popt intltool dbus_glib
libX11 xextproto libSM libICE libXtst libXi
gobjectIntrospection
];
# ToDo: on non-NixOS we create a symlink from there?
configureFlags = "--with-dbus-daemondir=/run/current-system/sw/bin/";
NIX_LDFLAGS = with stdenv; lib.optionalString isDarwin "-lintl";
meta = with stdenv.lib; {
platforms = platforms.unix;
};
}