2017-06-02 08:40:19 -07:00
|
|
|
{ stdenv, fetchFromGitHub, pkgconfig, qmake
|
2016-04-22 16:29:34 -07:00
|
|
|
, python, qtbase, qttools, zlib }:
|
2015-06-24 02:12:07 -07:00
|
|
|
|
2018-01-07 05:18:32 -08:00
|
|
|
stdenv.mkDerivation rec {
|
2015-06-24 02:12:07 -07:00
|
|
|
name = "tiled-${version}";
|
2018-04-29 07:09:11 -07:00
|
|
|
version = "1.1.5";
|
2013-08-13 18:23:15 -07:00
|
|
|
|
2017-03-19 16:34:46 -07:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "bjorn";
|
|
|
|
repo = "tiled";
|
|
|
|
rev = "v${version}";
|
2018-04-29 07:09:11 -07:00
|
|
|
sha256 = "1l8sx0qfkm7n2ag0ns01vrs8mzcxzva00in4xqz4zgd505qx5q9v";
|
2013-08-13 18:23:15 -07:00
|
|
|
};
|
|
|
|
|
2017-06-02 08:40:19 -07:00
|
|
|
nativeBuildInputs = [ pkgconfig qmake ];
|
2016-04-22 16:29:34 -07:00
|
|
|
buildInputs = [ python qtbase qttools ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
2013-08-13 18:23:15 -07:00
|
|
|
|
2016-04-22 16:29:34 -07:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Free, easy to use and flexible tile map editor";
|
2018-04-29 07:09:11 -07:00
|
|
|
homepage = https://www.mapeditor.org/;
|
2016-04-22 16:29:34 -07:00
|
|
|
license = with licenses; [
|
|
|
|
bsd2 # libtiled and tmxviewer
|
|
|
|
gpl2Plus # all the rest
|
|
|
|
];
|
2018-02-02 00:09:53 -08:00
|
|
|
maintainers = with maintainers; [ dywedir ];
|
2016-04-22 16:29:34 -07:00
|
|
|
platforms = platforms.linux;
|
2013-08-13 18:23:15 -07:00
|
|
|
};
|
|
|
|
}
|