summary refs log tree commit diff
path: root/pkgs/desktops/gnome-3/games/gnome-taquin/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-taquin/default.nix
parent20e53c0b14b85112d180d18f424fb75dd78053da (diff)
downloadnixpkgs-546e7669b211eee9f40ea9051a02033c27dc7ec6.tar
nixpkgs-546e7669b211eee9f40ea9051a02033c27dc7ec6.tar.gz
nixpkgs-546e7669b211eee9f40ea9051a02033c27dc7ec6.tar.bz2
nixpkgs-546e7669b211eee9f40ea9051a02033c27dc7ec6.tar.lz
nixpkgs-546e7669b211eee9f40ea9051a02033c27dc7ec6.tar.xz
nixpkgs-546e7669b211eee9f40ea9051a02033c27dc7ec6.tar.zst
nixpkgs-546e7669b211eee9f40ea9051a02033c27dc7ec6.zip
gnome3: move src.nix into default.nix automatically
Diffstat (limited to 'pkgs/desktops/gnome-3/games/gnome-taquin/default.nix')
-rw-r--r--pkgs/desktops/gnome-3/games/gnome-taquin/default.nix12
1 files changed, 11 insertions, 1 deletions
diff --git a/pkgs/desktops/gnome-3/games/gnome-taquin/default.nix b/pkgs/desktops/gnome-3/games/gnome-taquin/default.nix
index 3935afe3eb6..4f87fb50d61 100644
--- a/pkgs/desktops/gnome-3/games/gnome-taquin/default.nix
+++ b/pkgs/desktops/gnome-3/games/gnome-taquin/default.nix
@@ -2,7 +2,17 @@
 , librsvg, libcanberra-gtk3, intltool, itstool, libxml2 }:
 
 stdenv.mkDerivation rec {
-  inherit (import ./src.nix fetchurl) name src;
+  name = "gnome-taquin-${version}";
+  version = "3.26.1";
+
+  src = fetchurl {
+    url = "mirror://gnome/sources/gnome-taquin/${gnome3.versionBranch version}/${name}.tar.xz";
+    sha256 = "de352bb2dfcd759de37f6bccf1e4790760e020b4bb06a1bc8d5f03d89613b6fd";
+  };
+
+  passthru = {
+    updateScript = gnome3.updateScript { packageName = "gnome-taquin"; attrPath = "gnome3.gnome-taquin"; };
+  };
 
   nativeBuildInputs = [ pkgconfig ];
   buildInputs = [