nixpkgs/pkgs/desktops/gnome/apps/accerciser/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

75 lines
1.4 KiB
Nix
Raw Normal View History

{ lib
, fetchurl
2021-01-17 02:21:50 +00:00
, pkg-config
, gnome
, gtk3
, wrapGAppsHook
, gobject-introspection
, itstool
, libxml2
, python3
, at-spi2-core
, dbus
, gettext
2021-06-23 18:22:04 +00:00
, libwnck
, adwaita-icon-theme
}:
python3.pkgs.buildPythonApplication rec {
2020-08-09 12:17:55 +00:00
pname = "accerciser";
2022-08-02 09:34:47 +00:00
version = "3.40.0";
format = "other";
src = fetchurl {
2021-01-15 13:21:58 +00:00
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
2022-08-02 09:34:47 +00:00
sha256 = "U3VF1kgTwtKxSne2TiQBABXpl3z1+zz4qmXbzgHqNiU=";
};
2018-03-21 09:57:15 +00:00
nativeBuildInputs = [
gettext
gobject-introspection # For setup hook
itstool
libxml2
2021-01-17 02:21:50 +00:00
pkg-config
dbus
wrapGAppsHook
2018-03-21 09:57:15 +00:00
];
buildInputs = [
adwaita-icon-theme
at-spi2-core
gtk3
2021-06-23 18:22:04 +00:00
libwnck
];
propagatedBuildInputs = with python3.pkgs; [
ipython
pyatspi
pycairo
pygobject3
setuptools
xlib
];
# Strict deps breaks accerciser
# and https://github.com/NixOS/nixpkgs/issues/56943
strictDeps = false;
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;
};
}