diff --git a/pkgs/applications/editors/tiled/default.nix b/pkgs/applications/editors/tiled/default.nix index 5f2fffa5f508..be518b9336a8 100644 --- a/pkgs/applications/editors/tiled/default.nix +++ b/pkgs/applications/editors/tiled/default.nix @@ -1,16 +1,17 @@ -{ stdenv, fetchurl, pkgconfig, qmakeHook +{ stdenv, fetchFromGitHub, pkgconfig, qmakeHook , python, qtbase, qttools, zlib }: let # qtEnv = with qt5; env "qt-${qtbase.version}" [ qtbase qttools ]; in stdenv.mkDerivation rec { name = "tiled-${version}"; - version = "0.17.0"; + version = "0.18.2"; - src = fetchurl { - name = "${name}.tar.gz"; - url = "https://github.com/bjorn/tiled/archive/v${version}.tar.gz"; - sha256 = "0c9gykxmq0sk0yyfdq81g9psd922scqzn5asskjydj84d80f5z7p"; + src = fetchFromGitHub { + owner = "bjorn"; + repo = "tiled"; + rev = "v${version}"; + sha256 = "087jl36g6w2g5l70gz573iwyvx3r7i8fijl3y4mmmf8pyqdyq1n2"; }; nativeBuildInputs = [ pkgconfig qmakeHook ]; @@ -26,6 +27,6 @@ in stdenv.mkDerivation rec { gpl2Plus # all the rest ]; platforms = platforms.linux; - maintainers = with maintainers; [ nckx ]; + maintainers = [ maintainers.nckx ]; }; }