Guildhall alpha: co-op idle game
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
commit
9058039eb7
14 changed files with 2815 additions and 0 deletions
26
package.nix
Normal file
26
package.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{ lib, stdenvNoCC, makeWrapper, python3 }:
|
||||
|
||||
stdenvNoCC.mkDerivation {
|
||||
pname = "guildhall";
|
||||
version = "0.1.0";
|
||||
src = ./.;
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p $out/share/guildhall $out/bin
|
||||
cp app.py game.py $out/share/guildhall/
|
||||
cp -r static $out/share/guildhall/static
|
||||
makeWrapper ${python3}/bin/python3 $out/bin/guildhall \
|
||||
--add-flags "$out/share/guildhall/app.py"
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Co-op idle game for a small group of friends";
|
||||
license = lib.licenses.mit;
|
||||
platforms = lib.platforms.linux;
|
||||
mainProgram = "guildhall";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue