nixpkgs/pkgs/development/python-modules/pyatspi/default.nix
2018-04-24 21:53:11 +02:00

36 lines
913 B
Nix

{ stdenv, fetchurl, pkgconfig, buildPythonPackage, isPy3k, at-spi2-core, pygobject3, gnome3 }:
buildPythonPackage rec {
pname = "pyatspi";
version = "2.26.0";
format = "other";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0xdnix7gxzgf75xy9ris4dd6b05mqwicw190b98xqmypydyf95n6";
};
buildInputs = [
at-spi2-core
pkgconfig
pygobject3
];
disabled = !isPy3k;
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
attrPath = "python3.pkgs.${pname}";
};
};
meta = with stdenv.lib; {
description = "Python client bindings for D-Bus AT-SPI";
homepage = https://wiki.linuxfoundation.org/accessibility/d-bus;
license = licenses.gpl2;
maintainers = with maintainers; [ jgeerds jtojnar ];
platforms = with platforms; unix;
};
}