mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-30 23:34:12 +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 {
|
stdenv.mkDerivation rec {
|
||||||
name = "VASSAL-3.3.2";
|
pname = "VASSAL";
|
||||||
|
version = "3.4.12";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchzip {
|
||||||
url = "mirror://sourceforge/vassalengine/${name}-linux.tar.bz2";
|
url = "https://github.com/vassalengine/vassal/releases/download/${version}/${pname}-${version}-linux.tar.bz2";
|
||||||
sha256 = "1abhlkl27gyfa1lghvv76xa6ks5hiwv2s9wb9ddadm0m07f87n1w";
|
sha256 = "0xn403fxz6ay5lv8whyfdq611kvxj5q309bj317yw5cxbb08w1yb";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ makeWrapper ];
|
buildInputs = [ makeWrapper ];
|
||||||
@ -13,7 +14,7 @@ stdenv.mkDerivation rec {
|
|||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin $out/share/vassal $out/doc
|
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 lib/* $out/share/vassal
|
||||||
cp -R doc/* $out/doc
|
cp -R doc/* $out/doc
|
||||||
|
|
||||||
@ -28,7 +29,7 @@ stdenv.mkDerivation rec {
|
|||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A free, open-source boardgame engine";
|
description = "A free, open-source boardgame engine";
|
||||||
homepage = "http://www.vassalengine.org/";
|
homepage = "http://www.vassalengine.org/";
|
||||||
license = licenses.lgpl21;
|
license = licenses.lgpl21Only;
|
||||||
maintainers = with maintainers; [ tvestelind ];
|
maintainers = with maintainers; [ tvestelind ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user