tiled: 0.12.3 -> 0.16.0; clean up; maintain
This commit is contained in:
parent
ae0a64cf2c
commit
1076c93de3
@ -1,26 +1,31 @@
|
||||
{ stdenv, fetchurl, qtbase, qttools, qmakeHook, pkgconfig, python }:
|
||||
{ stdenv, fetchurl, pkgconfig, qmakeHook
|
||||
, python, qtbase, qttools, zlib }:
|
||||
|
||||
let
|
||||
version = "0.12.3";
|
||||
sha256 = "001j4lvb5d9h3m6vgz2na07637x6xg4bdvxi2hg4a0j9rikb4y40";
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
# qtEnv = with qt5; env "qt-${qtbase.version}" [ qtbase qttools ];
|
||||
in stdenv.mkDerivation rec {
|
||||
name = "tiled-${version}";
|
||||
version = "0.16.0";
|
||||
|
||||
src = fetchurl {
|
||||
name = "${name}.tar.gz";
|
||||
url = "https://github.com/bjorn/tiled/archive/v${version}.tar.gz";
|
||||
inherit sha256;
|
||||
sha256 = "1vlhfkgl126irp53xw94jw1xnj96l1hwnbxmm1s5az60460gfbf0";
|
||||
};
|
||||
|
||||
buildInputs = [ qtbase qttools qmakeHook pkgconfig python ];
|
||||
nativeBuildInputs = [ pkgconfig qmakeHook ];
|
||||
buildInputs = [ python qtbase qttools ];
|
||||
|
||||
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;
|
||||
enableParallelBuilding = true;
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user