83405b6dd2
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
72 lines
1.3 KiB
Nix
72 lines
1.3 KiB
Nix
{ lib
|
|
, fetchurl
|
|
, pkg-config
|
|
, gnome
|
|
, gtk3
|
|
, wrapGAppsHook
|
|
, gobject-introspection
|
|
, itstool
|
|
, libxml2
|
|
, python3
|
|
, at-spi2-core
|
|
, dbus
|
|
, gettext
|
|
, libwnck
|
|
, adwaita-icon-theme
|
|
, librsvg
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "accerciser";
|
|
version = "3.40.0";
|
|
|
|
format = "other";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
|
sha256 = "U3VF1kgTwtKxSne2TiQBABXpl3z1+zz4qmXbzgHqNiU=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
gettext
|
|
gobject-introspection # For setup hook
|
|
itstool
|
|
libxml2
|
|
pkg-config
|
|
dbus
|
|
wrapGAppsHook
|
|
];
|
|
|
|
buildInputs = [
|
|
adwaita-icon-theme
|
|
at-spi2-core
|
|
gtk3
|
|
libwnck
|
|
librsvg
|
|
];
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
ipython
|
|
pyatspi
|
|
pycairo
|
|
pygobject3
|
|
setuptools
|
|
xlib
|
|
];
|
|
|
|
passthru = {
|
|
updateScript = gnome.updateScript {
|
|
packageName = "accerciser";
|
|
attrPath = "gnome.accerciser";
|
|
versionPolicy = "odd-unstable";
|
|
};
|
|
};
|
|
|
|
meta = with lib; {
|
|
homepage = "https://wiki.gnome.org/Apps/Accerciser";
|
|
description = "Interactive Python accessibility explorer";
|
|
maintainers = teams.gnome.members;
|
|
license = licenses.bsd3;
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|