mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
33 lines
790 B
Nix
33 lines
790 B
Nix
{ stdenv, fetchFromGitHub, lib, zlib, pcre
|
|
, memorymappingHook, memstreamHook
|
|
, gnutls
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "tintin";
|
|
version = "2.02.41";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "scandum";
|
|
repo = "tintin";
|
|
rev = version;
|
|
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;
|
|
};
|
|
}
|