summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/editors/tiled
diff options
context:
space:
mode:
author宋文武 <iyzsong@gmail.com>2015-01-21 13:14:12 +0800
committer宋文武 <iyzsong@gmail.com>2015-01-21 13:14:12 +0800
commitb202dcb6067bfe167a7448b85fe9cf1cfc187d7c (patch)
tree939647ef08fba0e9d484430a2838f0ef43efdc65 /pkgs/applications/editors/tiled
parent0e8187b89f7948cae295eec25481e5fa45d464bc (diff)
tiled: Update to 0.11.0, renamed from tiled-qt.
Diffstat (limited to 'pkgs/applications/editors/tiled')
-rw-r--r--pkgs/applications/editors/tiled/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/applications/editors/tiled/default.nix b/pkgs/applications/editors/tiled/default.nix
new file mode 100644
index 000000000000..92cd50713060
--- /dev/null
+++ b/pkgs/applications/editors/tiled/default.nix
@@ -0,0 +1,24 @@
+{ stdenv, fetchurl, qt }:
+
+stdenv.mkDerivation rec {
+ name = "tiled-0.11.0";
+
+ src = fetchurl {
+ url = "https://github.com/bjorn/tiled/archive/v0.11.0.tar.gz";
+ sha256 = "03a15vbzjfwc8dpifbjvd0gnr208mzmdkgs2nlc8zq6z0a4h4jqd";
+ };
+
+ buildInputs = [ qt ];
+
+ preConfigure = "qmake -r PREFIX=$out";
+
+ meta = {
+ description = "A free, easy to use and flexible tile map editor";
+ homepage = "http://www.mapeditor.org/";
+ # libtiled and tmxviewer is licensed under 2-calause BSD license.
+ # The rest is GPL2 or later.
+ license = stdenv.lib.licenses.gpl2Plus;
+ platforms = stdenv.lib.platforms.linux;
+ maintainers = with stdenv.lib.maintainers; [ iyzsong ];
+ };
+}