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 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.isDarwin;
43 homepage = "http://npush.sourceforge.net/";
44 description = "A Sokoban-like game";
45 license = licenses.gpl2Plus;
46 maintainers = with maintainers; [ AndersonTorres ];
47 platforms = with platforms; unix;