2018-12-02 11:41:15 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, gnome3, gtk3, wrapGAppsHook, gobject-introspection
|
2018-02-25 02:23:58 +00:00
|
|
|
, itstool, libxml2, python3Packages, at-spi2-core
|
2019-03-03 18:35:30 +00:00
|
|
|
, dbus, gettext, libwnck3 }:
|
2016-09-18 20:35:23 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-02-21 01:57:59 +00:00
|
|
|
name = "accerciser-${version}";
|
2019-03-03 18:35:30 +00:00
|
|
|
version = "3.32.0";
|
2016-09-18 20:35:23 +01:00
|
|
|
|
2018-02-21 01:57:59 +00:00
|
|
|
src = fetchurl {
|
2018-10-05 01:12:11 +01:00
|
|
|
url = "mirror://gnome/sources/accerciser/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
2019-03-03 18:35:30 +00:00
|
|
|
sha256 = "1j7wlks6j77kfjrw6lx1g0apsy2wwca63jsm5994av5l6xs8xd5m";
|
2018-02-21 01:57:59 +00:00
|
|
|
};
|
|
|
|
|
2018-03-21 09:57:15 +00:00
|
|
|
nativeBuildInputs = [
|
2019-03-03 18:35:30 +00:00
|
|
|
pkgconfig wrapGAppsHook itstool gettext
|
2018-12-02 11:41:15 +00:00
|
|
|
gobject-introspection # For setup hook
|
2018-03-21 09:57:15 +00:00
|
|
|
];
|
2016-09-18 20:35:23 +01:00
|
|
|
buildInputs = [
|
2018-02-21 01:57:59 +00:00
|
|
|
gtk3 libxml2 python3Packages.python python3Packages.pyatspi
|
2016-09-18 20:35:23 +01:00
|
|
|
python3Packages.pygobject3 python3Packages.ipython
|
2019-02-13 21:47:50 +00:00
|
|
|
at-spi2-core dbus libwnck3 gnome3.adwaita-icon-theme
|
2016-09-18 20:35:23 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
wrapPrefixVariables = [ "PYTHONPATH" ];
|
|
|
|
|
2018-02-21 01:57:59 +00:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = "accerciser";
|
|
|
|
attrPath = "gnome3.accerciser";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2016-09-18 20:35:23 +01: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;
|
|
|
|
};
|
|
|
|
}
|