summary refs log tree commit diff
path: root/pkgs/applications/editors/tiled
diff options
context:
space:
mode:
authorndowens <ndowens04@gmail.com>2017-03-19 18:34:46 -0500
committerndowens <ndowens04@gmail.com>2017-03-19 18:34:46 -0500
commitc5ce21ec8042c99ad11572843416a58ea400b82c (patch)
tree6a42be13bc4c337d774828668e3112c4d2961006 /pkgs/applications/editors/tiled
parentb00bfb0401347637e512ef56acb4e34c266209b8 (diff)
downloadnixpkgs-c5ce21ec8042c99ad11572843416a58ea400b82c.tar
nixpkgs-c5ce21ec8042c99ad11572843416a58ea400b82c.tar.gz
nixpkgs-c5ce21ec8042c99ad11572843416a58ea400b82c.tar.bz2
nixpkgs-c5ce21ec8042c99ad11572843416a58ea400b82c.tar.lz
nixpkgs-c5ce21ec8042c99ad11572843416a58ea400b82c.tar.xz
nixpkgs-c5ce21ec8042c99ad11572843416a58ea400b82c.tar.zst
nixpkgs-c5ce21ec8042c99ad11572843416a58ea400b82c.zip
tiled: 0.17.0 -> 0.18.2
Diffstat (limited to 'pkgs/applications/editors/tiled')
-rw-r--r--pkgs/applications/editors/tiled/default.nix15
1 files changed, 8 insertions, 7 deletions
diff --git a/pkgs/applications/editors/tiled/default.nix b/pkgs/applications/editors/tiled/default.nix
index 5f2fffa5f50..be518b9336a 100644
--- a/pkgs/applications/editors/tiled/default.nix
+++ b/pkgs/applications/editors/tiled/default.nix
@@ -1,16 +1,17 @@
-{ stdenv, fetchurl, pkgconfig, qmakeHook
+{ stdenv, fetchFromGitHub, pkgconfig, qmakeHook
 , python, qtbase, qttools, zlib }:
 
 let
 #  qtEnv = with qt5; env "qt-${qtbase.version}" [ qtbase qttools ];
 in stdenv.mkDerivation rec {
   name = "tiled-${version}";
-  version = "0.17.0";
+  version = "0.18.2";
 
-  src = fetchurl {
-    name = "${name}.tar.gz";
-    url = "https://github.com/bjorn/tiled/archive/v${version}.tar.gz";
-    sha256 = "0c9gykxmq0sk0yyfdq81g9psd922scqzn5asskjydj84d80f5z7p";
+  src = fetchFromGitHub {
+    owner = "bjorn";
+    repo = "tiled";
+    rev = "v${version}";
+    sha256 = "087jl36g6w2g5l70gz573iwyvx3r7i8fijl3y4mmmf8pyqdyq1n2";
   };
 
   nativeBuildInputs = [ pkgconfig qmakeHook ];
@@ -26,6 +27,6 @@ in stdenv.mkDerivation rec {
       gpl2Plus	# all the rest
     ];
     platforms = platforms.linux;
-    maintainers = with maintainers; [ nckx ];
+    maintainers = [ maintainers.nckx ];
   };
 }