Merge pull request #208549 from tomodachi94/craftos-pc

craftos-pc: 2.6.6 -> 2.7.3
This commit is contained in:
Sandro 2023-01-30 11:24:29 +01:00 committed by GitHub
commit 70b8ae442d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,29 +14,30 @@
}:
let
version = "2.7.3";
craftos2-lua = fetchFromGitHub {
owner = "MCJack123";
repo = "craftos2-lua";
rev = "v2.6.6";
sha256 = "cCXH1GTRqJQ57/6sWIxik366YBx/ii3nzQwx4YpEh1w=";
rev = "v${version}";
sha256 = "sha256-lMqYfSA3sI7+glRE+eUf03uLfbf7lipmoqgt74FUaJQ=";
};
craftos2-rom = fetchFromGitHub {
owner = "McJack123";
repo = "craftos2-rom";
rev = "v2.6.6";
sha256 = "VzIqvf83k121DxuH5zgZfFS9smipDonyqqhVgj2kgYw=";
rev = "v${version}";
sha256 = "sha256-t76Yltx7vHNoAAFvNpYLKuwFja4On6M20upmG6w3C1M=";
};
in
stdenv.mkDerivation rec {
pname = "craftos-pc";
version = "2.6.6";
inherit version;
src = fetchFromGitHub {
owner = "MCJack123";
repo = "craftos2";
rev = "v${version}";
sha256 = "9lpAWYFli3/OBfmu2dQxKi+/TaHaBQNpZsCURvl0h/E=";
sha256 = "sha256-a7oMLfjZUkEWPjxDDywlSW4qLhcQrCXPPY2BEOgiafU=";
};
buildInputs = [ patchelf poco openssl SDL2 SDL2_mixer ncurses libpng pngpp libwebp ];
@ -63,7 +64,7 @@ stdenv.mkDerivation rec {
homepage = "https://www.craftos-pc.cc";
license = with licenses; [ mit free ];
platforms = platforms.linux;
maintainers = [ maintainers.siraben ];
maintainers = with maintainers; [ siraben tomodachi94 ];
mainProgram = "craftos";
};
}