nixpkgs/pkgs/development/python-modules/pyatspi/default.nix

37 lines
923 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, pkg-config, buildPythonPackage, isPy3k, at-spi2-core, pygobject3, gnome3 }:
2015-08-13 22:36:27 +01:00
buildPythonPackage rec {
pname = "pyatspi";
2020-09-21 03:23:34 +01:00
version = "2.38.0";
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";
2020-09-21 03:23:34 +01:00
sha256 = "/4CTEv0ML2HhkcGBoaY4owtXm5G2gs+1oFU1pVJltD0=";
2015-08-13 22:36:27 +01:00
};
nativeBuildInputs = [ pkg-config ];
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}";
};
};
meta = with 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
};
}