2021-01-18 22:50:56 -08:00
|
|
|
{ lib, stdenv, mkDerivation, fetchFromGitHub, pkg-config, qmake
|
2018-07-20 17:44:44 -07:00
|
|
|
, python, qtbase, qttools }:
|
2015-06-24 02:12:07 -07:00
|
|
|
|
2019-08-26 05:55:56 -07:00
|
|
|
mkDerivation rec {
|
2019-03-13 16:41:25 -07:00
|
|
|
pname = "tiled";
|
2020-11-22 05:33:52 -08:00
|
|
|
version = "1.4.3";
|
2013-08-13 18:23:15 -07:00
|
|
|
|
2017-03-19 16:34:46 -07:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "bjorn";
|
2019-03-13 16:41:25 -07:00
|
|
|
repo = pname;
|
2017-03-19 16:34:46 -07:00
|
|
|
rev = "v${version}";
|
2020-11-22 05:33:52 -08:00
|
|
|
sha256 = "0n8p7bp5pqq72c65av3v7wbazwphh78pw27nqvpiyp9y8k5w4pg0";
|
2013-08-13 18:23:15 -07:00
|
|
|
};
|
|
|
|
|
2021-01-18 22:50:56 -08:00
|
|
|
nativeBuildInputs = [ pkg-config qmake ];
|
2016-04-22 16:29:34 -07:00
|
|
|
buildInputs = [ python qtbase qttools ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
2013-08-13 18:23:15 -07:00
|
|
|
|
2021-01-10 23:54:33 -08:00
|
|
|
meta = with lib; {
|
2016-04-22 16:29:34 -07:00
|
|
|
description = "Free, easy to use and flexible tile map editor";
|
2020-03-04 04:43:57 -08: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
|
|
|
};
|
|
|
|
}
|