uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
41
pkgs/games/vassal/default.nix
Normal file
41
pkgs/games/vassal/default.nix
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
{ lib, stdenv, fetchzip, jre, makeWrapper }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "VASSAL";
|
||||
version = "3.6.5";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://github.com/vassalengine/vassal/releases/download/${version}/${pname}-${version}-linux.tar.bz2";
|
||||
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
|
||||
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"
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
# Don't move doc to share/, VASSAL expects it to be in the root
|
||||
forceShare = [ "man" "info" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A free, open-source boardgame engine";
|
||||
homepage = "https://vassalengine.org/";
|
||||
sourceProvenance = with sourceTypes; [ binaryBytecode ];
|
||||
license = licenses.lgpl21Only;
|
||||
maintainers = with maintainers; [ tvestelind ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue