1 { lib, stdenv, fetchurl, fetchpatch, cmake, wxGTK30, openal, pkg-config, curl, libtorrent-rasterbar
2 , libpng, libX11, gettext, boost, libnotify, gtk2, doxygen, spring
3 , makeWrapper, glib, minizip, alure, pcre, jsoncpp }:
5 stdenv.mkDerivation rec {
10 url = "https://springlobby.springrts.com/dl/stable/springlobby-${version}.tar.bz2";
11 sha256 = "1r1g2hw9ipsmsmzbhsi7bxqra1za6x7j1kw12qzl5psqyq8rqbgs";
14 nativeBuildInputs = [ cmake pkg-config gettext doxygen makeWrapper ];
16 wxGTK30 openal curl libtorrent-rasterbar pcre jsoncpp
17 boost libpng libX11 libnotify gtk2 glib minizip alure
21 ./revert_58b423e.patch # Allows springLobby to continue using system installed spring until #707 is fixed
24 url = "https://github.com/springlobby/springlobby/commit/252c4cb156c1442ed9b4faec3f26265bc7c295ff.patch";
25 sha256 = "sha256-Nq1F5fRPnCkZwl9KgrfuUmpIMK3hUOyZQYIKElWpmzU=";
30 wrapProgram $out/bin/springlobby \
31 --prefix PATH : "${spring}/bin" \
32 --set SPRING_BUNDLE_DIR "${spring}/lib"
36 homepage = "https://springlobby.info/";
37 description = "Cross-platform lobby client for the Spring RTS project";
38 license = licenses.gpl2;
39 maintainers = with maintainers; [ qknight domenkozar ];
40 platforms = platforms.linux;