summary refs log tree commit diff
path: root/pkgs/applications/editors/tiled
diff options
context:
space:
mode:
author宋文武 <iyzsong@gmail.com>2015-06-24 17:12:07 +0800
committer宋文武 <iyzsong@gmail.com>2015-06-24 17:14:12 +0800
commit7c0c2dc15bd6599fe818651a9ba8d05dbadd896f (patch)
tree6579f5bbb97b643dd736a09db24031cdb7ac0363 /pkgs/applications/editors/tiled
parentefb3fa7021d307facb227b256d3154c2339c8e83 (diff)
downloadnixpkgs-7c0c2dc15bd6599fe818651a9ba8d05dbadd896f.tar
nixpkgs-7c0c2dc15bd6599fe818651a9ba8d05dbadd896f.tar.gz
nixpkgs-7c0c2dc15bd6599fe818651a9ba8d05dbadd896f.tar.bz2
nixpkgs-7c0c2dc15bd6599fe818651a9ba8d05dbadd896f.tar.lz
nixpkgs-7c0c2dc15bd6599fe818651a9ba8d05dbadd896f.tar.xz
nixpkgs-7c0c2dc15bd6599fe818651a9ba8d05dbadd896f.tar.zst
nixpkgs-7c0c2dc15bd6599fe818651a9ba8d05dbadd896f.zip
tiled: update to 0.12.3 and build with qt5
Diffstat (limited to 'pkgs/applications/editors/tiled')
-rw-r--r--pkgs/applications/editors/tiled/default.nix15
1 files changed, 10 insertions, 5 deletions
diff --git a/pkgs/applications/editors/tiled/default.nix b/pkgs/applications/editors/tiled/default.nix
index 92cd5071306..b885e26fbef 100644
--- a/pkgs/applications/editors/tiled/default.nix
+++ b/pkgs/applications/editors/tiled/default.nix
@@ -1,14 +1,19 @@
-{ stdenv, fetchurl, qt }:
+{ stdenv, fetchurl, qt5, pkgconfig, python }:
+
+let
+  version = "0.12.3";
+  sha256 = "001j4lvb5d9h3m6vgz2na07637x6xg4bdvxi2hg4a0j9rikb4y40";
+in
 
 stdenv.mkDerivation rec {
-  name = "tiled-0.11.0";
+  name = "tiled-${version}";
 
   src = fetchurl {
-    url = "https://github.com/bjorn/tiled/archive/v0.11.0.tar.gz";
-    sha256 = "03a15vbzjfwc8dpifbjvd0gnr208mzmdkgs2nlc8zq6z0a4h4jqd";
+    url = "https://github.com/bjorn/tiled/archive/v${version}.tar.gz";
+    inherit sha256;
   };
 
-  buildInputs = [ qt ];
+  buildInputs = [ qt5.base qt5.tools pkgconfig python ];
 
   preConfigure = "qmake -r PREFIX=$out";