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