2022-08-12 12:06:08 +00:00
|
|
|
{ stdenv, fetchFromGitHub, lib, zlib, pcre
|
|
|
|
, memorymappingHook, memstreamHook
|
|
|
|
, gnutls
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "tintin";
|
2023-03-24 00:07:29 +00:00
|
|
|
version = "2.02.31";
|
2022-08-12 12:06:08 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "scandum";
|
|
|
|
repo = "tintin";
|
|
|
|
rev = version;
|
2023-03-24 00:07:29 +00:00
|
|
|
hash = "sha256-emCxA5+YB4S7QXxRqkDKN1xeWttR857VfGzFQ1cGbYg=";
|
2022-08-12 12:06:08 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ zlib pcre gnutls ]
|
|
|
|
++ lib.optionals (stdenv.system == "x86_64-darwin") [ memorymappingHook memstreamHook ];
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
cd src
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A free MUD client for macOS, Linux and Windows";
|
|
|
|
homepage = "https://tintin.mudhalla.net/index.php";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ abathur ];
|
|
|
|
mainProgram = "tt++";
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|