mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
Merge pull request #180741 from abathur/restore_tintin
This commit is contained in:
commit
3e41e87e31
2 changed files with 33 additions and 1 deletions
32
pkgs/games/tintin/default.nix
Normal file
32
pkgs/games/tintin/default.nix
Normal file
|
@ -0,0 +1,32 @@
|
|||
{ 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;
|
||||
};
|
||||
}
|
|
@ -33141,7 +33141,7 @@ with pkgs;
|
|||
|
||||
tibia = pkgsi686Linux.callPackage ../games/tibia { };
|
||||
|
||||
tintin = throw "tintin has been removed due to lack of maintainers";
|
||||
tintin = callPackage ../games/tintin { };
|
||||
|
||||
tinyfugue = callPackage ../games/tinyfugue { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue