2015-12-20 02:25:57 +00:00
|
|
|
{ stdenv, fetchurl, qtbase, qttools, pkgconfig, python }:
|
2015-06-24 10:12:07 +01:00
|
|
|
|
|
|
|
let
|
|
|
|
version = "0.12.3";
|
|
|
|
sha256 = "001j4lvb5d9h3m6vgz2na07637x6xg4bdvxi2hg4a0j9rikb4y40";
|
|
|
|
in
|
2013-08-14 02:23:15 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-06-24 10:12:07 +01:00
|
|
|
name = "tiled-${version}";
|
2013-08-14 02:23:15 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2015-06-24 10:12:07 +01:00
|
|
|
url = "https://github.com/bjorn/tiled/archive/v${version}.tar.gz";
|
|
|
|
inherit sha256;
|
2013-08-14 02:23:15 +01:00
|
|
|
};
|
|
|
|
|
2015-12-20 02:25:57 +00:00
|
|
|
buildInputs = [ qtbase qttools pkgconfig python ];
|
2013-08-14 02:23:15 +01:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|