gnome3.caribou: fix on GNOME Flashback
This commit is contained in:
parent
40535ced63
commit
d6a6f9eb95
@ -1,11 +1,11 @@
|
|||||||
{ fetchurl, stdenv, pkgconfig, gnome3, clutter, dbus, python3Packages, libxml2
|
{ fetchurl, stdenv, pkgconfig, gnome3, glib, gtk3, clutter, dbus, python3, libxml2
|
||||||
, libxklavier, libXtst, gtk2, intltool, libxslt, at-spi2-core, autoreconfHook
|
, libxklavier, libXtst, gtk2, intltool, libxslt, at-spi2-core, autoreconfHook
|
||||||
, wrapGAppsHook }:
|
, wrapGAppsHook }:
|
||||||
|
|
||||||
let
|
let
|
||||||
pname = "caribou";
|
pname = "caribou";
|
||||||
version = "0.4.21";
|
version = "0.4.21";
|
||||||
pythonEnv = python3Packages.python.withPackages ( ps: with ps; [ pygobject3 ] );
|
pythonEnv = python3.withPackages ( ps: with ps; [ pygobject3 ] );
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
name = "${pname}-${version}";
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
@ -14,11 +14,21 @@ in stdenv.mkDerivation rec {
|
|||||||
sha256 = "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww";
|
sha256 = "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# Fix crash in GNOME Flashback
|
||||||
|
# https://bugzilla.gnome.org/show_bug.cgi?id=791001
|
||||||
|
(fetchurl {
|
||||||
|
url = https://bugzilla.gnome.org/attachment.cgi?id=364774;
|
||||||
|
sha256 = "15k1455grf6knlrxqbjnk7sals1730b0whj30451scp46wyvykvd";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig intltool libxslt libxml2 autoreconfHook wrapGAppsHook ];
|
nativeBuildInputs = [ pkgconfig intltool libxslt libxml2 autoreconfHook wrapGAppsHook ];
|
||||||
|
|
||||||
buildInputs = with gnome3;
|
buildInputs = [
|
||||||
[ glib gtk clutter at-spi2-core dbus pythonEnv python3Packages.pygobject3
|
glib gtk3 clutter at-spi2-core dbus pythonEnv python3.pkgs.pygobject3
|
||||||
libXtst gtk2 ];
|
libXtst gtk2
|
||||||
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [ gnome3.libgee libxklavier ];
|
propagatedBuildInputs = [ gnome3.libgee libxklavier ];
|
||||||
|
|
||||||
@ -37,9 +47,8 @@ in stdenv.mkDerivation rec {
|
|||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "An input assistive technology intended for switch and pointer users";
|
description = "An input assistive technology intended for switch and pointer users";
|
||||||
homepage = https://wiki.gnome.org/Projects/Caribou;
|
homepage = https://wiki.gnome.org/Projects/Caribou;
|
||||||
platforms = platforms.linux;
|
|
||||||
license = licenses.lgpl21;
|
license = licenses.lgpl21;
|
||||||
maintainers = gnome3.maintainers;
|
maintainers = gnome3.maintainers;
|
||||||
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user