tiled: 0.12.3 -> 0.16.0; clean up; maintain

This commit is contained in:
Tobias Geerinckx-Rice 2016-04-23 01:29:34 +02:00
parent ae0a64cf2c
commit 1076c93de3
No known key found for this signature in database
GPG Key ID: 91CCDB9B48541B99

View File

@ -1,26 +1,31 @@
{ stdenv, fetchurl, qtbase, qttools, qmakeHook, pkgconfig, python }: { stdenv, fetchurl, pkgconfig, qmakeHook
, python, qtbase, qttools, zlib }:
let let
version = "0.12.3"; # qtEnv = with qt5; env "qt-${qtbase.version}" [ qtbase qttools ];
sha256 = "001j4lvb5d9h3m6vgz2na07637x6xg4bdvxi2hg4a0j9rikb4y40"; in stdenv.mkDerivation rec {
in
stdenv.mkDerivation rec {
name = "tiled-${version}"; name = "tiled-${version}";
version = "0.16.0";
src = fetchurl { src = fetchurl {
name = "${name}.tar.gz";
url = "https://github.com/bjorn/tiled/archive/v${version}.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 = { enableParallelBuilding = true;
description = "A free, easy to use and flexible tile map editor";
homepage = "http://www.mapeditor.org/"; meta = with stdenv.lib; {
# libtiled and tmxviewer is licensed under 2-calause BSD license. description = "Free, easy to use and flexible tile map editor";
# The rest is GPL2 or later. homepage = http://www.mapeditor.org/;
license = stdenv.lib.licenses.gpl2Plus; license = with licenses; [
platforms = stdenv.lib.platforms.linux; bsd2 # libtiled and tmxviewer
gpl2Plus # all the rest
];
platforms = platforms.linux;
maintainers = with maintainers; [ nckx ];
}; };
} }