tintin: 2.02.12 -> 2.02.20, adopt

- update version to match #165797
- change homepage to the independent project site (which
sourceforge now redirects to)
- update source to github (linked from project site above)
- get rid of the "option" to exclude tlsSupport per PR feedback

+13 -16
+13 -16
pkgs/games/tintin/default.nix
··· 1 - { stdenv, fetchurl, lib, zlib, pcre 2 , memorymappingHook, memstreamHook 3 - , tlsSupport ? true, gnutls ? null 4 - # ^ set { tlsSupport = false; } to reduce closure size by ~= 18.6 MB 5 }: 6 - 7 - assert tlsSupport -> gnutls != null; 8 9 stdenv.mkDerivation rec { 10 pname = "tintin"; 11 - version = "2.02.12"; 12 13 - src = fetchurl { 14 - url = "mirror://sourceforge/tintin/tintin-${version}.tar.gz"; 15 - sha256 = "sha256-tvn9TywefNyM/0Fy16gAFJYbA5Q4DO2RgiCdw014GgA="; 16 }; 17 18 - nativeBuildInputs = lib.optional tlsSupport gnutls.dev; 19 - buildInputs = [ zlib pcre ] 20 - ++ lib.optionals (stdenv.system == "x86_64-darwin") [ memorymappingHook memstreamHook ] 21 - ++ lib.optional tlsSupport gnutls; 22 23 preConfigure = '' 24 cd src ··· 26 27 meta = with lib; { 28 description = "A free MUD client for macOS, Linux and Windows"; 29 - homepage = "http://tintin.sourceforge.net"; 30 - license = licenses.gpl2; 31 - maintainers = with maintainers; [ lovek323 ]; 32 mainProgram = "tt++"; 33 platforms = platforms.unix; 34 };
··· 1 + { stdenv, fetchFromGitHub, lib, zlib, pcre 2 , memorymappingHook, memstreamHook 3 + , gnutls 4 }: 5 6 stdenv.mkDerivation rec { 7 pname = "tintin"; 8 + version = "2.02.20"; 9 10 + src = fetchFromGitHub { 11 + owner = "scandum"; 12 + repo = "tintin"; 13 + rev = version; 14 + hash = "sha256-H9Cjg/GkyV50pgewv77zOJ8/Op78P9sQmZ5LorO4L+A="; 15 }; 16 17 + buildInputs = [ zlib pcre gnutls ] 18 + ++ lib.optionals (stdenv.system == "x86_64-darwin") [ memorymappingHook memstreamHook ]; 19 20 preConfigure = '' 21 cd src ··· 23 24 meta = with lib; { 25 description = "A free MUD client for macOS, Linux and Windows"; 26 + homepage = "https://tintin.mudhalla.net/index.php"; 27 + license = licenses.gpl3Plus; 28 + maintainers = with maintainers; [ abathur ]; 29 mainProgram = "tt++"; 30 platforms = platforms.unix; 31 };