mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
Merge pull request #107897 from samuelrivas/update-vassal-to-3-14
vassal: 3.3.2 -> 3.14.12
This commit is contained in:
commit
08ca8173ef
@ -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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user