1{ stdenv, fetchurl, pkgconfig, buildPythonPackage, isPy3k, at-spi2-core, pygobject3, gnome3 }:
2
3buildPythonPackage rec {
4 pname = "pyatspi";
5 version = "2.26.0";
6 format = "other";
7
8 src = fetchurl {
9 url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
10 sha256 = "0xdnix7gxzgf75xy9ris4dd6b05mqwicw190b98xqmypydyf95n6";
11 };
12
13 buildInputs = [
14 at-spi2-core
15 pkgconfig
16 pygobject3
17 ];
18
19 disabled = !isPy3k;
20
21 passthru = {
22 updateScript = gnome3.updateScript {
23 packageName = pname;
24 attrPath = "python3.pkgs.${pname}";
25 };
26 };
27
28 meta = with stdenv.lib; {
29 description = "Python client bindings for D-Bus AT-SPI";
30 homepage = https://wiki.linuxfoundation.org/accessibility/d-bus;
31 license = licenses.gpl2;
32 maintainers = with maintainers; [ jgeerds jtojnar ];
33 platforms = with platforms; unix;
34 };
35}