7 stdenv.mkDerivation rec {
12 url = "mirror://sourceforge/project/npush/${pname}/${version}/${pname}-${version}.tgz";
13 hash = "sha256-8hbSsyeehzd4T3fUhDyebyI/oTHOHr3a8ArYAquivNk=";
16 outputs = [ "out" "doc" ];
25 "CC=${stdenv.cc.targetPrefix}c++"
27 env.NIX_CFLAGS_COMPILE = "-Wno-error=format-security";
32 mkdir -p $out/bin $out/share/npush/levels $doc/share/doc/npush
34 cp levels/* $out/share/npush/levels
35 cp CHANGES COPYING CREDITS index.html \
36 readme.txt screenshot1.png screenshot2.png $doc/share/doc/npush/
42 broken = stdenv.hostPlatform.isDarwin;
43 homepage = "https://npush.sourceforge.net/";
44 description = "Sokoban-like game";
45 mainProgram = "npush";
46 license = licenses.gpl2Plus;
47 maintainers = with maintainers; [ AndersonTorres ];
48 platforms = with platforms; unix;