Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

39 lines
779 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
SDL2,
}:
stdenv.mkDerivation rec {
pname = "johnny-reborn-engine";
version = "0.45";
src = fetchFromGitHub {
owner = "xesf";
repo = "jc_reborn";
rev = "v${version}";
hash = "sha256-PDh2RKdvm4LkDKi963CB5RiraWcS3FED6ug8T1J65GM=";
};
buildInputs = [ SDL2 ];
installPhase = ''
runHook preInstall
mkdir -p $out/bin
cp jc_reborn $out/bin/
runHook postInstall
'';
meta = {
description = "Open-source engine for the classic \"Johnny Castaway\" screensaver (engine only)";
homepage = "https://github.com/xesf/jc_reborn";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ pedrohlc ];
mainProgram = "jc_reborn";
inherit (SDL2.meta) platforms;
};
}