at 23.05-pre 42 lines 1.0 kB view raw
1{ lib 2, gccStdenv 3, fetchFromGitHub 4, autoreconfHook 5, xorgproto 6, libX11 7, libXpm 8}: 9 10gccStdenv.mkDerivation rec { 11 pname = "0verkill"; 12 version = "unstable-2011-01-13"; 13 14 src = fetchFromGitHub { 15 owner = "hackndev"; 16 repo = pname; 17 rev = "522f11a3e40670bbf85e0fada285141448167968"; 18 sha256 = "WO7PN192HhcDl6iHIbVbH7MVMi1Tl2KyQbDa9DWRO6M="; 19 }; 20 21 nativeBuildInputs = [ autoreconfHook ]; 22 buildInputs = [ libX11 xorgproto libXpm ]; 23 24 configureFlags = [ "--with-x" ]; 25 26 preAutoreconf = '' 27 autoupdate 28 ''; 29 30 # The code needs an update for gcc-10: 31 # https://github.com/hackndev/0verkill/issues/7 32 NIX_CFLAGS_COMPILE = "-fcommon"; 33 hardeningDisable = [ "all" ]; # Someday the upstream will update the code... 34 35 meta = with lib; { 36 homepage = "https://github.com/hackndev/0verkill"; 37 description = "ASCII-ART bloody 2D action deathmatch-like game"; 38 license = with licenses; gpl2Only; 39 maintainers = with maintainers; [ AndersonTorres ]; 40 platforms = with platforms; unix; 41 }; 42}