summary refs log tree commit diff
path: root/pkgs/desktops/gnome-3/games/gnome-nibbles/default.nix
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2018-02-25 21:07:20 +0100
committerJan Tojnar <jtojnar@gmail.com>2018-03-01 02:53:00 +0100
commit546e7669b211eee9f40ea9051a02033c27dc7ec6 (patch)
tree540993e0fab50a9ed80f31ba73f08046c4dd95af /pkgs/desktops/gnome-3/games/gnome-nibbles/default.nix
parent20e53c0b14b85112d180d18f424fb75dd78053da (diff)
downloadnixlib-546e7669b211eee9f40ea9051a02033c27dc7ec6.tar
nixlib-546e7669b211eee9f40ea9051a02033c27dc7ec6.tar.gz
nixlib-546e7669b211eee9f40ea9051a02033c27dc7ec6.tar.bz2
nixlib-546e7669b211eee9f40ea9051a02033c27dc7ec6.tar.lz
nixlib-546e7669b211eee9f40ea9051a02033c27dc7ec6.tar.xz
nixlib-546e7669b211eee9f40ea9051a02033c27dc7ec6.tar.zst
nixlib-546e7669b211eee9f40ea9051a02033c27dc7ec6.zip
gnome3: move src.nix into default.nix automatically
Diffstat (limited to 'pkgs/desktops/gnome-3/games/gnome-nibbles/default.nix')
-rw-r--r--pkgs/desktops/gnome-3/games/gnome-nibbles/default.nix12
1 files changed, 11 insertions, 1 deletions
diff --git a/pkgs/desktops/gnome-3/games/gnome-nibbles/default.nix b/pkgs/desktops/gnome-3/games/gnome-nibbles/default.nix
index 7489cf6111bb..302d8fb21010 100644
--- a/pkgs/desktops/gnome-3/games/gnome-nibbles/default.nix
+++ b/pkgs/desktops/gnome-3/games/gnome-nibbles/default.nix
@@ -3,7 +3,17 @@
 , libxml2, libgee, libgames-support }:
 
 stdenv.mkDerivation rec {
-  inherit (import ./src.nix fetchurl) name src;
+  name = "gnome-nibbles-${version}";
+  version = "3.24.0";
+
+  src = fetchurl {
+    url = "mirror://gnome/sources/gnome-nibbles/${gnome3.versionBranch version}/${name}.tar.xz";
+    sha256 = "0ddc1fe03483958dd5513d04f5919ade991902d12da18a4c2d3307f818a5cb4f";
+  };
+
+  passthru = {
+    updateScript = gnome3.updateScript { packageName = "gnome-nibbles"; attrPath = "gnome3.gnome-nibbles"; };
+  };
 
   nativeBuildInputs = [ pkgconfig ];
   buildInputs = [