forked from mirrors/nixpkgs
commit
eeb3600e55
|
@ -315,6 +315,7 @@
|
|||
tstrobel = "Thomas Strobel <ts468@cam.ac.uk>";
|
||||
ttuegel = "Thomas Tuegel <ttuegel@gmail.com>";
|
||||
tv = "Tomislav Viljetić <tv@shackspace.de>";
|
||||
tvestelind = "Tomas Vestelind <tomas.vestelind@fripost.org>";
|
||||
twey = "James ‘Twey’ Kay <twey@twey.co.uk>";
|
||||
urkud = "Yury G. Kudryashov <urkud+nix@ya.ru>";
|
||||
vandenoever = "Jos van den Oever <jos@vandenoever.info>";
|
||||
|
|
35
pkgs/games/vassal/default.nix
Normal file
35
pkgs/games/vassal/default.nix
Normal file
|
@ -0,0 +1,35 @@
|
|||
{ stdenv, fetchurl, jre, makeWrapper }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "VASSAL-3.2.15";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://downloads.sourceforge.net/vassalengine/${name}-linux.tar.bz2";
|
||||
sha256 = "10ng571nxr5zc2nlviyrk5bci8my67kq3qvhfn9bifzkxmjlqmk9";
|
||||
};
|
||||
|
||||
buildInputs = [ makeWrapper ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin $out/share/vassal $out/doc
|
||||
|
||||
cp CHANGES LICENSE README $out
|
||||
cp -R lib/* $out/share/vassal
|
||||
cp -R doc/* $out/doc
|
||||
|
||||
makeWrapper ${jre}/bin/java $out/bin/vassal \
|
||||
--add-flags "-Duser.dir=$out -cp $out/share/vassal/Vengine.jar \
|
||||
VASSAL.launch.ModuleManager"
|
||||
'';
|
||||
|
||||
# Don't move doc to share/, VASSAL expects it to be in the root
|
||||
forceShare = [ "man" "info" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A free, open-source boardgame engine";
|
||||
homepage = http://www.vassalengine.org/;
|
||||
license = licenses.lgpl21;
|
||||
maintainers = with maintainers; [ tvestelind ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
|
@ -14498,6 +14498,8 @@ let
|
|||
|
||||
ut2004demo = callPackage ../games/ut2004demo { };
|
||||
|
||||
vassal = callPackage ../games/vassal { };
|
||||
|
||||
vdrift = callPackage ../games/vdrift { };
|
||||
|
||||
vectoroids = callPackage ../games/vectoroids { };
|
||||
|
|
Loading…
Reference in a new issue