2021-02-05 17:12:51 +00:00
|
|
|
{ lib, mkDerivation, fetchFromGitHub, pkg-config, qmake
|
2020-04-24 23:36:52 +00:00
|
|
|
, python, qtbase, qttools }:
|
|
|
|
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "tiled";
|
2021-08-23 08:02:39 +00:00
|
|
|
version = "1.7.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "bjorn";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-08-23 08:02:39 +00:00
|
|
|
sha256 = "sha256-yQWe27zLWOnRQk+MEpuWs8CFP/le3PQ+yziB0ikNang=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config qmake ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ python qtbase qttools ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Free, easy to use and flexible tile map editor";
|
|
|
|
homepage = "https://www.mapeditor.org/";
|
|
|
|
license = with licenses; [
|
|
|
|
bsd2 # libtiled and tmxviewer
|
|
|
|
gpl2Plus # all the rest
|
|
|
|
];
|
|
|
|
maintainers = with maintainers; [ dywedir ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|