@@ -3,14 +3,14 @@
33, wrapGAppsHook }:
44
55let
6− majorVersion = "0.4";
6+ pname = "caribou";
7+ version = "0.4.21";
78 pythonEnv = python3Packages.python.withPackages ( ps: with ps; [ pygobject3 ] );
8−in
9−stdenv.mkDerivation rec {
10− name = "caribou-${majorVersion}.21";
9+in stdenv.mkDerivation rec {
10+ name = "${pname}-${version}";
1111
1212 src = fetchurl {
13− url = "mirror://gnome/sources/caribou/${majorVersion}/${name}.tar.xz";
13+ url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz";
1414 sha256 = "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww";
1515 };
1616
@@ -27,8 +27,18 @@ stdenv.mkDerivation rec {
2727 substituteInPlace libcaribou/Makefile.am --replace "--shared-library=libcaribou.so.0" "--shared-library=$out/lib/libcaribou.so.0"
2828 '';
2929
30+ passthru = {
31+ updateScript = gnome3.updateScript {
32+ packageName = pname;
33+ attrPath = "gnome3.${pname}";
34+ };
35+ };
36+
3037 meta = with stdenv.lib; {
38+ description = "An input assistive technology intended for switch and pointer users";
39+ homepage = https://wiki.gnome.org/Projects/Caribou;
3140 platforms = platforms.linux;
41+ license = licenses.lgpl21;
3242 maintainers = gnome3.maintainers;
3343 };
3444