gnome3.accerciser: use buildPythonPackage, add xlib
This application will now actually work.
This commit is contained in:
parent
2be5edbbbb
commit
ea222ae04e
@ -1,27 +1,60 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, gnome3, gtk3, wrapGAppsHook, gobject-introspection
|
{ stdenv
|
||||||
, itstool, libxml2, python3Packages, at-spi2-core
|
, fetchurl
|
||||||
, dbus, gettext, libwnck3 }:
|
, pkgconfig
|
||||||
|
, gnome3
|
||||||
|
, gtk3
|
||||||
|
, glib
|
||||||
|
, wrapGAppsHook
|
||||||
|
, gobject-introspection
|
||||||
|
, itstool
|
||||||
|
, libxml2
|
||||||
|
, python3
|
||||||
|
, at-spi2-core
|
||||||
|
, dbus
|
||||||
|
, gettext
|
||||||
|
, libwnck3
|
||||||
|
, adwaita-icon-theme
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
python3.pkgs.buildPythonApplication rec {
|
||||||
name = "accerciser-${version}";
|
name = "accerciser-${version}";
|
||||||
version = "3.32.2";
|
version = "3.32.2";
|
||||||
|
|
||||||
|
format = "other";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/accerciser/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
url = "mirror://gnome/sources/accerciser/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
||||||
sha256 = "05ssj8whzhf98lpcaca7m45h03g0wx0i8jlsrh3yn943mshzidy8";
|
sha256 = "05ssj8whzhf98lpcaca7m45h03g0wx0i8jlsrh3yn943mshzidy8";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
pkgconfig wrapGAppsHook itstool gettext
|
gettext
|
||||||
gobject-introspection # For setup hook
|
gobject-introspection # For setup hook
|
||||||
];
|
itstool
|
||||||
buildInputs = [
|
libxml2
|
||||||
gtk3 libxml2 python3Packages.python python3Packages.pyatspi
|
pkgconfig
|
||||||
python3Packages.pygobject3 python3Packages.ipython
|
dbus
|
||||||
at-spi2-core dbus libwnck3 gnome3.adwaita-icon-theme
|
wrapGAppsHook
|
||||||
];
|
];
|
||||||
|
|
||||||
wrapPrefixVariables = [ "PYTHONPATH" ];
|
buildInputs = [
|
||||||
|
adwaita-icon-theme
|
||||||
|
at-spi2-core
|
||||||
|
gtk3
|
||||||
|
libwnck3
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = with python3.pkgs; [
|
||||||
|
ipython
|
||||||
|
pyatspi
|
||||||
|
pycairo
|
||||||
|
pygobject3
|
||||||
|
xlib
|
||||||
|
];
|
||||||
|
|
||||||
|
# Strict deps breaks accerciser
|
||||||
|
# and https://github.com/NixOS/nixpkgs/issues/56943
|
||||||
|
strictDeps = false;
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
updateScript = gnome3.updateScript {
|
updateScript = gnome3.updateScript {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user