mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 13:13:33 +00:00
33 lines
792 B
Nix
33 lines
792 B
Nix
{ stdenv, fetchFromGitHub, lib, zlib, pcre
|
|
, memorymappingHook, memstreamHook
|
|
, gnutls
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "tintin";
|
|
version = "2.02.30";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "scandum";
|
|
repo = "tintin";
|
|
rev = version;
|
|
hash = "sha256-zZ7bajZURMuaTn7vhN5DF2HUfNVlDWnp71FXPCbidnM=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|