3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/games/tintin/default.nix
Travis A. Everett 3d55811e1c 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
2022-08-02 19:03:15 -05:00

33 lines
792 B
Nix

{ stdenv, fetchFromGitHub, lib, zlib, pcre
, memorymappingHook, memstreamHook
, gnutls
}:
stdenv.mkDerivation rec {
pname = "tintin";
version = "2.02.20";
src = fetchFromGitHub {
owner = "scandum";
repo = "tintin";
rev = version;
hash = "sha256-H9Cjg/GkyV50pgewv77zOJ8/Op78P9sQmZ5LorO4L+A=";
};
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;
};
}