Merge remote-tracking branch 'origin/master' into staging

This commit is contained in:
Will Dietz
2018-04-24 19:58:44 -05:00
33 changed files with 1518 additions and 83 deletions

View File

@@ -15,9 +15,9 @@ buildPythonPackage rec {
sha256 = "d2d587dde06f99545fb13a383d2cd336a8ff1f359c5839ce3a64c917d10c029f";
};
checkInputs = [ pytest];
checkInputs = [ pytest ];
propagatedBuildInputs = [] ++ lib.optional (!isPy3k) [ configparser ];
propagatedBuildInputs = lib.optional (!isPy3k) configparser;
checkPhase = ''
py.test tests
@@ -28,4 +28,4 @@ buildPythonPackage rec {
homepage = https://github.com/takluyver/entrypoints;
license = lib.licenses.mit;
};
}
}

View File

@@ -1,29 +1,35 @@
{ stdenv, fetchurl, pkgconfig, at-spi2-core, pythonPackages }:
{ stdenv, fetchurl, pkgconfig, buildPythonPackage, isPy3k, at-spi2-core, pygobject3, gnome3 }:
stdenv.mkDerivation rec {
buildPythonPackage rec {
pname = "pyatspi";
version = "2.18.0";
name = "${pname}-${version}";
version = "2.26.0";
format = "other";
src = fetchurl {
url = "mirror://gnome/sources/pyatspi/2.18/${name}.tar.xz";
sha256 = "0imbyk2v6c11da7pkwz91313pkkldxs8zfg81zb2ql6h0nnh6vzq";
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0xdnix7gxzgf75xy9ris4dd6b05mqwicw190b98xqmypydyf95n6";
};
broken = true;
buildInputs = [
at-spi2-core
pkgconfig
pythonPackages.python
pythonPackages.pygobject3
pygobject3
];
disabled = !isPy3k;
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
attrPath = "python3.pkgs.${pname}";
};
};
meta = with stdenv.lib; {
description = "Python 3 bindings for at-spi";
homepage = http://www.linuxfoundation.org/en/AT-SPI_on_D-Bus;
description = "Python client bindings for D-Bus AT-SPI";
homepage = https://wiki.linuxfoundation.org/accessibility/d-bus;
license = licenses.gpl2;
maintainers = with maintainers; [ jgeerds ];
maintainers = with maintainers; [ jgeerds jtojnar ];
platforms = with platforms; unix;
};
}