2021-01-10 23:54:33 -08:00
|
|
|
{ lib, stdenv
|
2019-05-18 14:19:31 -07:00
|
|
|
, fetchurl
|
|
|
|
, pkgconfig
|
|
|
|
, gnome3
|
|
|
|
, gtk3
|
|
|
|
, wrapGAppsHook
|
|
|
|
, gobject-introspection
|
|
|
|
, itstool
|
|
|
|
, libxml2
|
|
|
|
, python3
|
|
|
|
, at-spi2-core
|
|
|
|
, dbus
|
|
|
|
, gettext
|
|
|
|
, libwnck3
|
|
|
|
, adwaita-icon-theme
|
|
|
|
}:
|
2016-09-18 12:35:23 -07:00
|
|
|
|
2020-08-21 10:25:18 -07:00
|
|
|
python3.pkgs.buildPythonApplication rec {
|
2020-08-09 05:17:55 -07:00
|
|
|
pname = "accerciser";
|
2020-08-21 10:25:18 -07:00
|
|
|
version = "3.38.0";
|
2016-09-18 12:35:23 -07:00
|
|
|
|
2019-05-18 14:19:31 -07:00
|
|
|
format = "other";
|
|
|
|
|
2018-02-20 17:57:59 -08:00
|
|
|
src = fetchurl {
|
2021-01-15 05:21:58 -08:00
|
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2020-08-21 10:25:18 -07:00
|
|
|
sha256 = "0fd9vv2abd2if2qj4nlfy7mpd7rc4sx18zhmxd5ijlnfhkpggbp5";
|
2018-02-20 17:57:59 -08:00
|
|
|
};
|
|
|
|
|
2018-03-21 02:57:15 -07:00
|
|
|
nativeBuildInputs = [
|
2019-05-18 14:19:31 -07:00
|
|
|
gettext
|
2018-12-02 03:41:15 -08:00
|
|
|
gobject-introspection # For setup hook
|
2019-05-18 14:19:31 -07:00
|
|
|
itstool
|
|
|
|
libxml2
|
|
|
|
pkgconfig
|
|
|
|
dbus
|
|
|
|
wrapGAppsHook
|
2018-03-21 02:57:15 -07:00
|
|
|
];
|
2019-05-18 14:19:31 -07:00
|
|
|
|
2016-09-18 12:35:23 -07:00
|
|
|
buildInputs = [
|
2019-05-18 14:19:31 -07:00
|
|
|
adwaita-icon-theme
|
|
|
|
at-spi2-core
|
|
|
|
gtk3
|
|
|
|
libwnck3
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
|
|
ipython
|
|
|
|
pyatspi
|
|
|
|
pycairo
|
|
|
|
pygobject3
|
2019-10-10 14:38:41 -07:00
|
|
|
setuptools
|
2019-05-18 14:19:31 -07:00
|
|
|
xlib
|
2016-09-18 12:35:23 -07:00
|
|
|
];
|
|
|
|
|
2019-05-18 14:19:31 -07:00
|
|
|
# Strict deps breaks accerciser
|
|
|
|
# and https://github.com/NixOS/nixpkgs/issues/56943
|
|
|
|
strictDeps = false;
|
2016-09-18 12:35:23 -07:00
|
|
|
|
2018-02-20 17:57:59 -08:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = "accerciser";
|
|
|
|
attrPath = "gnome3.accerciser";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-01-10 23:54:33 -08:00
|
|
|
meta = with lib; {
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://wiki.gnome.org/Apps/Accerciser";
|
2016-09-18 12:35:23 -07:00
|
|
|
description = "Interactive Python accessibility explorer";
|
2020-04-01 05:40:51 -07:00
|
|
|
maintainers = teams.gnome.members;
|
2016-09-18 12:35:23 -07:00
|
|
|
license = licenses.bsd3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|