2016-04-22 23:29:34 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, qmakeHook
|
|
|
|
, python, qtbase, qttools, zlib }:
|
2015-06-24 09:12:07 +00:00
|
|
|
|
|
|
|
let
|
2016-04-22 23:29:34 +00:00
|
|
|
# qtEnv = with qt5; env "qt-${qtbase.version}" [ qtbase qttools ];
|
|
|
|
in stdenv.mkDerivation rec {
|
2015-06-24 09:12:07 +00:00
|
|
|
name = "tiled-${version}";
|
2016-05-08 00:45:04 +00:00
|
|
|
version = "0.16.1";
|
2013-08-14 01:23:15 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2016-04-22 23:29:34 +00:00
|
|
|
name = "${name}.tar.gz";
|
2015-06-24 09:12:07 +00:00
|
|
|
url = "https://github.com/bjorn/tiled/archive/v${version}.tar.gz";
|
2016-05-08 00:45:04 +00:00
|
|
|
sha256 = "0s1i6yhm1z9ayzjh8cprcc9jvj5m87l9snyqg6w7zlj3q9zn4rn6";
|
2013-08-14 01:23:15 +00:00
|
|
|
};
|
|
|
|
|
2016-04-22 23:29:34 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig qmakeHook ];
|
|
|
|
buildInputs = [ python qtbase qttools ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
2013-08-14 01:23:15 +00:00
|
|
|
|
2016-04-22 23:29:34 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Free, easy to use and flexible tile map editor";
|
|
|
|
homepage = http://www.mapeditor.org/;
|
|
|
|
license = with licenses; [
|
|
|
|
bsd2 # libtiled and tmxviewer
|
|
|
|
gpl2Plus # all the rest
|
|
|
|
];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ nckx ];
|
2013-08-14 01:23:15 +00:00
|
|
|
};
|
|
|
|
}
|