refactor folder structure
This commit is contained in:
25
hosts/fw/pkgs/foundry-vtt/default.nix
Normal file
25
hosts/fw/pkgs/foundry-vtt/default.nix
Normal file
@@ -0,0 +1,25 @@
|
||||
{ stdenv, lib, unzip }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "foundry-vtt";
|
||||
version = "12.331";
|
||||
|
||||
src = ./FoundryVTT-12.331.zip;
|
||||
|
||||
nativeBuildInputs = [ unzip ];
|
||||
|
||||
unpackPhase = ''
|
||||
unzip $src
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/foundry-vtt
|
||||
cp -r . $out/share/foundry-vtt
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Tabletop simulator";
|
||||
license = licenses.mit; # Adjust as needed
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user