feat: cubyz

This commit is contained in:
2025-11-14 13:51:17 +01:00
parent 51196aaefa
commit fc8066a248
5 changed files with 315 additions and 42 deletions

View File

@@ -0,0 +1,34 @@
{
lib,
stdenv,
fetchFromGitHub,
}:
stdenv.mkDerivation (finalAttrs: {
version = "0-unstable-2025-09-13";
pname = "cubyz-assets";
src = fetchFromGitHub {
owner = "PixelGuys";
repo = "Cubyz-Assets";
rev = "fc6e9a79b7806fe753799ac0ebe83735da9cd999";
hash = "sha256-adMgfoAlyqRTIO8R42djn6FbLoDpFZDcWQdbm9f0p+A=";
};
dontBuild = true;
installPhase = ''
runHook preInstall
mkdir -p $out
cp -r $src/* $out
runHook postInstall
'';
meta = {
homepage = "https://github.com/PixelGuys/Cubyz-assets";
description = "Cache for large assets, like music, used by Cubyz";
license = lib.licenses.gpl3Only;
mainProgram = "cubyz";
maintainers = with lib.maintainers; [ leha44581 ];
};
})