3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/at-spi2-core/default.nix

33 lines
931 B
Nix
Raw Normal View History

{ stdenv, fetchurl, python, pkgconfig, popt, intltool, dbus_glib
, libX11, xextproto, libSM, libICE, libXtst, libXi, gobjectIntrospection }:
stdenv.mkDerivation rec {
versionMajor = "2.20";
2016-07-09 15:28:16 +01:00
versionMinor = "2";
2012-07-17 23:29:22 +01:00
moduleName = "at-spi2-core";
name = "${moduleName}-${versionMajor}.${versionMinor}";
src = fetchurl {
2012-07-17 23:29:22 +01:00
url = "mirror://gnome/sources/${moduleName}/${versionMajor}/${name}.tar.xz";
2016-07-09 15:28:16 +01:00
sha256 = "88a4de9d43139f13cca531b47b901bc1b56e0ab06ba899126644abd4ac16a143";
};
outputs = [ "out" "dev" ];
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;
};
}