3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/pyatspi/default.nix

37 lines
929 B
Nix
Raw Normal View History

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