Merge pull request #107897 from samuelrivas/update-vassal-to-3-14

vassal: 3.3.2 -> 3.14.12
This commit is contained in:
Sandro 2021-01-11 01:39:11 +01:00 committed by GitHub
commit 08ca8173ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,11 +1,12 @@
{ stdenv, fetchurl, jre, makeWrapper }:
{ stdenv, fetchzip, jre, makeWrapper }:
stdenv.mkDerivation rec {
name = "VASSAL-3.3.2";
pname = "VASSAL";
version = "3.4.12";
src = fetchurl {
url = "mirror://sourceforge/vassalengine/${name}-linux.tar.bz2";
sha256 = "1abhlkl27gyfa1lghvv76xa6ks5hiwv2s9wb9ddadm0m07f87n1w";
src = fetchzip {
url = "https://github.com/vassalengine/vassal/releases/download/${version}/${pname}-${version}-linux.tar.bz2";
sha256 = "0xn403fxz6ay5lv8whyfdq611kvxj5q309bj317yw5cxbb08w1yb";
};
buildInputs = [ makeWrapper ];
@ -13,7 +14,7 @@ stdenv.mkDerivation rec {
installPhase = ''
mkdir -p $out/bin $out/share/vassal $out/doc
cp CHANGES LICENSE README $out
cp CHANGES LICENSE README.md $out
cp -R lib/* $out/share/vassal
cp -R doc/* $out/doc
@ -28,7 +29,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
description = "A free, open-source boardgame engine";
homepage = "http://www.vassalengine.org/";
license = licenses.lgpl21;
license = licenses.lgpl21Only;
maintainers = with maintainers; [ tvestelind ];
platforms = platforms.linux;
};