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