vassal: 3.6.4 -> 3.6.5

* vassal: 3.6.4 -> 3.6.5 (#159828)

* vassal: update meta.homepage

Co-authored-by: Renaud <c0bw3b@users.noreply.github.com>
This commit is contained in:
R. RyanTM 2022-02-16 16:50:21 -08:00 committed by GitHub
parent 37b8cedf7f
commit 9137d7d156
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,16 +2,18 @@
stdenv.mkDerivation rec {
pname = "VASSAL";
version = "3.6.4";
version = "3.6.5";
src = fetchzip {
url = "https://github.com/vassalengine/vassal/releases/download/${version}/${pname}-${version}-linux.tar.bz2";
sha256 = "sha256-WUEpYxzNcH9kJRn4nROoaeXTe1+D4/0VRqTwc7ac1hc=";
sha256 = "sha256-wnaT0+r599/RboeUfpCZTNd/M2kaCsckI9F+7r7leEE=";
};
nativeBuildInputs = [ makeWrapper ];
installPhase = ''
runHook preInstall
mkdir -p $out/bin $out/share/vassal $out/doc
cp CHANGES LICENSE README.md $out
@ -21,6 +23,8 @@ stdenv.mkDerivation rec {
makeWrapper ${jre}/bin/java $out/bin/vassal \
--add-flags "-Duser.dir=$out -cp $out/share/vassal/Vengine.jar \
VASSAL.launch.ModuleManager"
runHook postInstall
'';
# Don't move doc to share/, VASSAL expects it to be in the root
@ -28,7 +32,7 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "A free, open-source boardgame engine";
homepage = "http://www.vassalengine.org/";
homepage = "https://vassalengine.org/";
license = licenses.lgpl21Only;
maintainers = with maintainers; [ tvestelind ];
platforms = platforms.unix;