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