nixpkgs/pkgs/applications/editors/tiled/default.nix

32 lines
877 B
Nix
Raw Normal View History

{ stdenv, fetchurl, pkgconfig, qmakeHook
, python, qtbase, qttools, zlib }:
let
# qtEnv = with qt5; env "qt-${qtbase.version}" [ qtbase qttools ];
in stdenv.mkDerivation rec {
name = "tiled-${version}";
2016-09-30 03:42:25 +00:00
version = "0.17.0";
2013-08-14 01:23:15 +00:00
src = fetchurl {
name = "${name}.tar.gz";
url = "https://github.com/bjorn/tiled/archive/v${version}.tar.gz";
2016-09-30 03:42:25 +00:00
sha256 = "0c9gykxmq0sk0yyfdq81g9psd922scqzn5asskjydj84d80f5z7p";
2013-08-14 01:23:15 +00:00
};
nativeBuildInputs = [ pkgconfig qmakeHook ];
buildInputs = [ python qtbase qttools ];
enableParallelBuilding = true;
2013-08-14 01:23:15 +00:00
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 ];
2013-08-14 01:23:15 +00:00
};
}