2018-04-24 19:39:33 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, buildPythonPackage, isPy3k, at-spi2-core, pygobject3, gnome3 }:
|
2015-08-13 21:36:27 +00:00
|
|
|
|
2018-04-24 19:39:33 +00:00
|
|
|
buildPythonPackage rec {
|
2017-05-27 09:25:35 +00:00
|
|
|
pname = "pyatspi";
|
2018-04-24 19:39:33 +00:00
|
|
|
version = "2.26.0";
|
|
|
|
format = "other";
|
2015-08-13 21:36:27 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-04-24 19:39:33 +00:00
|
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
|
|
|
sha256 = "0xdnix7gxzgf75xy9ris4dd6b05mqwicw190b98xqmypydyf95n6";
|
2015-08-13 21:36:27 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
2018-02-25 02:23:58 +00:00
|
|
|
at-spi2-core
|
2016-03-13 20:39:07 +00:00
|
|
|
pkgconfig
|
2018-04-24 19:39:33 +00:00
|
|
|
pygobject3
|
2015-08-13 21:36:27 +00:00
|
|
|
];
|
|
|
|
|
2018-04-24 19:39:33 +00:00
|
|
|
disabled = !isPy3k;
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
attrPath = "python3.pkgs.${pname}";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2015-08-13 21:36:27 +00:00
|
|
|
meta = with stdenv.lib; {
|
2018-04-24 19:39:33 +00:00
|
|
|
description = "Python client bindings for D-Bus AT-SPI";
|
|
|
|
homepage = https://wiki.linuxfoundation.org/accessibility/d-bus;
|
2015-08-13 21:36:27 +00:00
|
|
|
license = licenses.gpl2;
|
2018-04-24 19:39:33 +00:00
|
|
|
maintainers = with maintainers; [ jgeerds jtojnar ];
|
2016-08-02 17:50:55 +00:00
|
|
|
platforms = with platforms; unix;
|
2015-08-13 21:36:27 +00:00
|
|
|
};
|
|
|
|
}
|