2016-09-18 19:35:23 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, gnome3, gtk3, wrapGAppsHook
|
2018-02-25 02:23:58 +00:00
|
|
|
, itstool, libxml2, python3Packages, at-spi2-core
|
2016-09-18 19:35:23 +00:00
|
|
|
, dbus, intltool, libwnck3 }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-02-21 01:57:59 +00:00
|
|
|
name = "accerciser-${version}";
|
|
|
|
version = "3.22.0";
|
2016-09-18 19:35:23 +00:00
|
|
|
|
2018-02-21 01:57:59 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnome/sources/accerciser/${gnome3.versionBranch version}/${name}.tar.xz";
|
|
|
|
sha256 = "883306274442c7ecc076b24afca5190c835c40871ded1b9790da69347e9ca3c5";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig wrapGAppsHook itstool intltool ];
|
2016-09-18 19:35:23 +00:00
|
|
|
buildInputs = [
|
2018-02-21 01:57:59 +00:00
|
|
|
gtk3 libxml2 python3Packages.python python3Packages.pyatspi
|
2016-09-18 19:35:23 +00:00
|
|
|
python3Packages.pygobject3 python3Packages.ipython
|
2018-02-21 01:57:59 +00:00
|
|
|
at-spi2-core dbus libwnck3 gnome3.defaultIconTheme
|
2016-09-18 19:35:23 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
wrapPrefixVariables = [ "PYTHONPATH" ];
|
|
|
|
|
2018-02-21 01:57:59 +00:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = "accerciser";
|
|
|
|
attrPath = "gnome3.accerciser";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2016-09-18 19:35:23 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://wiki.gnome.org/Apps/Accerciser;
|
|
|
|
description = "Interactive Python accessibility explorer";
|
|
|
|
maintainers = gnome3.maintainers;
|
|
|
|
license = licenses.bsd3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|