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

31 lines
777 B
Nix
Raw Normal View History

2017-06-02 08:40:19 -07:00
{ stdenv, fetchFromGitHub, pkgconfig, qmake
, python, qtbase, qttools, zlib }:
2018-01-07 05:18:32 -08:00
stdenv.mkDerivation rec {
name = "tiled-${version}";
2018-04-29 07:09:11 -07:00
version = "1.1.5";
2013-08-13 18:23:15 -07:00
2017-03-19 16:34:46 -07:00
src = fetchFromGitHub {
owner = "bjorn";
repo = "tiled";
rev = "v${version}";
2018-04-29 07:09:11 -07:00
sha256 = "1l8sx0qfkm7n2ag0ns01vrs8mzcxzva00in4xqz4zgd505qx5q9v";
2013-08-13 18:23:15 -07:00
};
2017-06-02 08:40:19 -07:00
nativeBuildInputs = [ pkgconfig qmake ];
buildInputs = [ python qtbase qttools ];
enableParallelBuilding = true;
2013-08-13 18:23:15 -07:00
meta = with stdenv.lib; {
description = "Free, easy to use and flexible tile map editor";
2018-04-29 07:09:11 -07:00
homepage = https://www.mapeditor.org/;
license = with licenses; [
bsd2 # libtiled and tmxviewer
gpl2Plus # all the rest
];
2018-02-02 00:09:53 -08:00
maintainers = with maintainers; [ dywedir ];
platforms = platforms.linux;
2013-08-13 18:23:15 -07:00
};
}