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

33 lines
939 B
Nix
Raw Normal View History

{ stdenv, fetchurl, python, pkgconfig, popt, gettext, dbus-glib
, libX11, xextproto, libSM, libICE, libXtst, libXi, gobjectIntrospection }:
stdenv.mkDerivation rec {
2017-09-17 14:55:01 +02:00
versionMajor = "2.26";
2017-12-03 20:56:09 +01:00
versionMinor = "2";
2012-07-18 00:29:22 +02:00
moduleName = "at-spi2-core";
name = "${moduleName}-${versionMajor}.${versionMinor}";
src = fetchurl {
2012-07-18 00:29:22 +02:00
url = "mirror://gnome/sources/${moduleName}/${versionMajor}/${name}.tar.xz";
2017-12-03 20:56:09 +01:00
sha256 = "0596ghkamkxgv08r4a1pdhm06qd5zzgcfqsv64038w9xbvghq3n8";
};
outputs = [ "out" "dev" ];
2017-12-03 20:56:09 +01:00
nativeBuildInputs = [ pkgconfig gettext gobjectIntrospection ];
buildInputs = [
python popt dbus-glib
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/";
NIX_LDFLAGS = with stdenv; lib.optionalString isDarwin "-lintl";
meta = with stdenv.lib; {
platforms = platforms.unix;
};
}