about summary refs log tree commit diff
path: root/pkgs/desktops
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2018-03-15 02:08:49 +0100
committerJan Tojnar <jtojnar@gmail.com>2018-03-22 07:46:51 +0100
commitf46cfa4968a5d0f42891d491a14ccdb9914a204f (patch)
tree1a11777058711719c39243a1534d2174c75e2180 /pkgs/desktops
parentdd791a42815761a68071b366ecc2cef2cae56c45 (diff)
downloadnixlib-f46cfa4968a5d0f42891d491a14ccdb9914a204f.tar
nixlib-f46cfa4968a5d0f42891d491a14ccdb9914a204f.tar.gz
nixlib-f46cfa4968a5d0f42891d491a14ccdb9914a204f.tar.bz2
nixlib-f46cfa4968a5d0f42891d491a14ccdb9914a204f.tar.lz
nixlib-f46cfa4968a5d0f42891d491a14ccdb9914a204f.tar.xz
nixlib-f46cfa4968a5d0f42891d491a14ccdb9914a204f.tar.zst
nixlib-f46cfa4968a5d0f42891d491a14ccdb9914a204f.zip
gnome3.lightsoff: clean up
Diffstat (limited to 'pkgs/desktops')
-rw-r--r--pkgs/desktops/gnome-3/games/lightsoff/default.nix20
1 files changed, 11 insertions, 9 deletions
diff --git a/pkgs/desktops/gnome-3/games/lightsoff/default.nix b/pkgs/desktops/gnome-3/games/lightsoff/default.nix
index 869e348adb5b..73b7c092a66d 100644
--- a/pkgs/desktops/gnome-3/games/lightsoff/default.nix
+++ b/pkgs/desktops/gnome-3/games/lightsoff/default.nix
@@ -1,5 +1,5 @@
-{ stdenv, fetchurl, pkgconfig, gtk3, gnome3, gdk_pixbuf, librsvg, wrapGAppsHook
-, intltool, itstool, clutter, clutter-gtk, libxml2, dconf }:
+{ stdenv, fetchurl, vala, pkgconfig, gtk3, gnome3, gdk_pixbuf, librsvg, wrapGAppsHook
+, gettext, itstool, clutter, clutter-gtk, libxml2, appstream-glib }:
 
 stdenv.mkDerivation rec {
   name = "lightsoff-${version}";
@@ -10,16 +10,18 @@ stdenv.mkDerivation rec {
     sha256 = "0rwh9kz6aphglp79cyrfjab6vy02vclq68f646zjgb9xgg6ar73g";
   };
 
-  passthru = {
-    updateScript = gnome3.updateScript { packageName = "lightsoff"; attrPath = "gnome3.lightsoff"; };
-  };
-
-  nativeBuildInputs = [ pkgconfig ];
-  buildInputs = [ gtk3 gnome3.defaultIconTheme gdk_pixbuf librsvg dconf
-                  libxml2 clutter clutter-gtk wrapGAppsHook itstool intltool ];
+  nativeBuildInputs = [ vala pkgconfig wrapGAppsHook itstool gettext appstream-glib libxml2];
+  buildInputs = [ gtk3 gnome3.defaultIconTheme gdk_pixbuf librsvg clutter clutter-gtk ];
 
   enableParallelBuilding = true;
 
+  passthru = {
+    updateScript = gnome3.updateScript {
+      packageName = "lightsoff";
+      attrPath = "gnome3.lightsoff";
+    };
+  };
+
   meta = with stdenv.lib; {
     homepage = https://wiki.gnome.org/Apps/Lightsoff;
     description = "Puzzle game, where the objective is to turn off all of the tiles on the board";