depot/third_party/nixpkgs/pkgs/development/python-modules/pyatspi/default.nix
Default email 3e2acf8aff Project import generated by Copybara.
GitOrigin-RevId: d42cd445dde587e9a993cd9434cb43da07c4c5de
2021-05-20 18:08:51 -05:00

37 lines
952 B
Nix

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