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
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 ];
};
}