Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 32 lines 792 B view raw
1{ stdenv, fetchFromGitHub, lib, zlib, pcre 2, memorymappingHook, memstreamHook 3, gnutls 4}: 5 6stdenv.mkDerivation rec { 7 pname = "tintin"; 8 version = "2.02.31"; 9 10 src = fetchFromGitHub { 11 owner = "scandum"; 12 repo = "tintin"; 13 rev = version; 14 hash = "sha256-emCxA5+YB4S7QXxRqkDKN1xeWttR857VfGzFQ1cGbYg="; 15 }; 16 17 buildInputs = [ zlib pcre gnutls ] 18 ++ lib.optionals (stdenv.system == "x86_64-darwin") [ memorymappingHook memstreamHook ]; 19 20 preConfigure = '' 21 cd src 22 ''; 23 24 meta = with lib; { 25 description = "A free MUD client for macOS, Linux and Windows"; 26 homepage = "https://tintin.mudhalla.net/index.php"; 27 license = licenses.gpl3Plus; 28 maintainers = with maintainers; [ abathur ]; 29 mainProgram = "tt++"; 30 platforms = platforms.unix; 31 }; 32}