2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2019-05-18 21:19:31 +00:00
|
|
|
, fetchurl
|
2024-09-12 14:42:38 +00:00
|
|
|
, desktop-file-utils
|
|
|
|
, meson
|
|
|
|
, ninja
|
2021-01-17 02:21:50 +00:00
|
|
|
, pkg-config
|
2021-05-07 21:18:14 +00:00
|
|
|
, gnome
|
2019-05-18 21:19:31 +00:00
|
|
|
, gtk3
|
2024-04-26 20:24:03 +00:00
|
|
|
, wrapGAppsHook3
|
2019-05-18 21:19:31 +00:00
|
|
|
, gobject-introspection
|
|
|
|
, itstool
|
|
|
|
, python3
|
|
|
|
, at-spi2-core
|
|
|
|
, gettext
|
2021-06-23 18:22:04 +00:00
|
|
|
, libwnck
|
2022-12-29 16:40:14 +00:00
|
|
|
, librsvg
|
2019-05-18 21:19:31 +00:00
|
|
|
}:
|
2016-09-18 19:35:23 +00:00
|
|
|
|
2020-08-21 17:25:18 +00:00
|
|
|
python3.pkgs.buildPythonApplication rec {
|
2020-08-09 12:17:55 +00:00
|
|
|
pname = "accerciser";
|
2024-09-12 14:42:38 +00:00
|
|
|
version = "3.44.1";
|
2016-09-18 19:35:23 +00:00
|
|
|
|
2019-05-18 21:19:31 +00:00
|
|
|
format = "other";
|
|
|
|
|
2018-02-21 01:57:59 +00:00
|
|
|
src = fetchurl {
|
2021-01-15 13:21:58 +00:00
|
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2024-09-12 14:42:38 +00:00
|
|
|
hash = "sha256-tJz7DTIY+/Vf+kPH96N9a4URn+2VahBjCYBO2+mDkAM=";
|
2018-02-21 01:57:59 +00:00
|
|
|
};
|
|
|
|
|
2018-03-21 09:57:15 +00:00
|
|
|
nativeBuildInputs = [
|
2024-09-12 14:42:38 +00:00
|
|
|
desktop-file-utils
|
2019-05-18 21:19:31 +00:00
|
|
|
gettext
|
2018-12-02 11:41:15 +00:00
|
|
|
gobject-introspection # For setup hook
|
2019-05-18 21:19:31 +00:00
|
|
|
itstool
|
2024-09-12 14:42:38 +00:00
|
|
|
meson
|
|
|
|
ninja
|
2021-01-17 02:21:50 +00:00
|
|
|
pkg-config
|
2024-04-26 20:24:03 +00:00
|
|
|
wrapGAppsHook3
|
2018-03-21 09:57:15 +00:00
|
|
|
];
|
2019-05-18 21:19:31 +00:00
|
|
|
|
2016-09-18 19:35:23 +00:00
|
|
|
buildInputs = [
|
2019-05-18 21:19:31 +00:00
|
|
|
at-spi2-core
|
|
|
|
gtk3
|
2021-06-23 18:22:04 +00:00
|
|
|
libwnck
|
2022-12-29 16:40:14 +00:00
|
|
|
librsvg
|
2019-05-18 21:19:31 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
2024-09-12 14:42:38 +00:00
|
|
|
dbus-python
|
2019-05-18 21:19:31 +00:00
|
|
|
ipython
|
|
|
|
pyatspi
|
|
|
|
pycairo
|
|
|
|
pygobject3
|
2024-09-12 14:42:38 +00:00
|
|
|
pyxdg
|
|
|
|
setuptools # for pkg_resources
|
2016-09-18 19:35:23 +00:00
|
|
|
];
|
|
|
|
|
2023-10-29 02:50:48 +00:00
|
|
|
dontWrapGApps = true;
|
|
|
|
|
|
|
|
preFixup = ''
|
|
|
|
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
|
|
|
|
'';
|
|
|
|
|
2018-02-21 01:57:59 +00:00
|
|
|
passthru = {
|
2021-05-07 21:18:14 +00:00
|
|
|
updateScript = gnome.updateScript {
|
2018-02-21 01:57:59 +00:00
|
|
|
packageName = "accerciser";
|
2021-03-20 23:57:24 +00:00
|
|
|
versionPolicy = "odd-unstable";
|
2018-02-21 01:57:59 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2024-05-01 05:03:10 +00:00
|
|
|
homepage = "https://gitlab.gnome.org/GNOME/accerciser";
|
2024-10-04 19:35:12 +00:00
|
|
|
changelog = "https://gitlab.gnome.org/GNOME/accerciser/-/blob/${version}/NEWS?ref_type=tags";
|
2016-09-18 19:35:23 +00:00
|
|
|
description = "Interactive Python accessibility explorer";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "accerciser";
|
2020-04-01 12:40:51 +00:00
|
|
|
maintainers = teams.gnome.members;
|
2016-09-18 19:35:23 +00:00
|
|
|
license = licenses.bsd3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|