Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.03 937 B view raw
1{ stdenv, fetchurl, pkgconfig, buildPythonPackage, isPy3k, at-spi2-core, pygobject3, gnome3 }: 2 3buildPythonPackage rec { 4 pname = "pyatspi"; 5 version = "2.30.0"; 6 format = "other"; 7 8 src = fetchurl { 9 url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 10 sha256 = "11g7dx21brfmi5vrq289cw983rydalx0cy91afv5gigyadsmyam2"; 11 }; 12 13 nativeBuildInputs = [ pkgconfig ]; 14 15 buildInputs = [ 16 at-spi2-core 17 pygobject3 18 ]; 19 20 disabled = !isPy3k; 21 22 passthru = { 23 updateScript = gnome3.updateScript { 24 packageName = pname; 25 attrPath = "python3.pkgs.${pname}"; 26 }; 27 }; 28 29 meta = with stdenv.lib; { 30 description = "Python client bindings for D-Bus AT-SPI"; 31 homepage = https://wiki.linuxfoundation.org/accessibility/d-bus; 32 license = licenses.gpl2; 33 maintainers = with maintainers; [ jgeerds jtojnar ]; 34 platforms = with platforms; unix; 35 }; 36}