1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 19:51:17 +00:00
nixpkgs/pkgs/games/tintin/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
790 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, lib, zlib, pcre
, memorymappingHook, memstreamHook
, gnutls
}:
stdenv.mkDerivation rec {
pname = "tintin";
2024-01-08 16:54:05 +00:00
version = "2.02.41";
src = fetchFromGitHub {
owner = "scandum";
repo = "tintin";
rev = version;
2024-01-08 16:54:05 +00:00
hash = "sha256-AfWw9CMBAzTTsrZXDEoOdpvUofIQfLCW7hRgSb7LB00=";
};
buildInputs = [ zlib pcre gnutls ]
++ lib.optionals (stdenv.system == "x86_64-darwin") [ memorymappingHook memstreamHook ];
preConfigure = ''
cd src
'';
meta = with lib; {
description = "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;
};
}