1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-01-22 14:45:27 +00:00

python3.pkgs.pyatspi: 2.18.0 → 2.26.0

This commit is contained in:
Jan Tojnar 2018-04-24 21:39:33 +02:00
parent d48e9ff92a
commit ddc48afcca
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4
2 changed files with 20 additions and 14 deletions

View file

@ -1,29 +1,35 @@
{ stdenv, fetchurl, pkgconfig, at-spi2-core, pythonPackages }:
{ stdenv, fetchurl, pkgconfig, buildPythonPackage, isPy3k, at-spi2-core, pygobject3, gnome3 }:
stdenv.mkDerivation rec {
buildPythonPackage rec {
pname = "pyatspi";
version = "2.18.0";
name = "${pname}-${version}";
version = "2.26.0";
format = "other";
src = fetchurl {
url = "mirror://gnome/sources/pyatspi/2.18/${name}.tar.xz";
sha256 = "0imbyk2v6c11da7pkwz91313pkkldxs8zfg81zb2ql6h0nnh6vzq";
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0xdnix7gxzgf75xy9ris4dd6b05mqwicw190b98xqmypydyf95n6";
};
broken = true;
buildInputs = [
at-spi2-core
pkgconfig
pythonPackages.python
pythonPackages.pygobject3
pygobject3
];
disabled = !isPy3k;
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
attrPath = "python3.pkgs.${pname}";
};
};
meta = with stdenv.lib; {
description = "Python 3 bindings for at-spi";
homepage = http://www.linuxfoundation.org/en/AT-SPI_on_D-Bus;
description = "Python client bindings for D-Bus AT-SPI";
homepage = https://wiki.linuxfoundation.org/accessibility/d-bus;
license = licenses.gpl2;
maintainers = with maintainers; [ jgeerds ];
maintainers = with maintainers; [ jgeerds jtojnar ];
platforms = with platforms; unix;
};
}

View file

@ -315,7 +315,7 @@ in {
inherit (pkgs) arrow-cpp cmake pkgconfig;
};
pyatspi = disabledIf (!isPy3k) (callPackage ../development/python-modules/pyatspi { });
pyatspi = callPackage ../development/python-modules/pyatspi { };
pyaxmlparser = callPackage ../development/python-modules/pyaxmlparser { };