Loading maintainers/maintainer-list.nix +8 −0 Original line number Diff line number Diff line Loading @@ -12123,6 +12123,14 @@ github = "MrTarantoga"; githubId = 53876219; }; mrtnvgr = { name = "Egor Martynov"; github = "mrtnvgr"; githubId = 48406064; keys = [{ fingerprint = "6FAD DB43 D5A5 FE52 6835 0943 5B33 79E9 81EF 48B1"; }]; }; mrVanDalo = { email = "contact@ingolf-wagner.de"; github = "mrVanDalo"; Loading pkgs/by-name/ce/celeste-classic/package.nix 0 → 100644 +49 −0 Original line number Diff line number Diff line { lib , stdenvNoCC , fetchzip , autoPatchelfHook , SDL2 , practiceMod ? false }: let directory = if practiceMod then "CELESTE*Practice*" else "CELESTE"; srcbin = if practiceMod then "celeste_practice_mod" else "celeste"; outbin = if practiceMod then "celeste-classic-pm" else "celeste-classic"; in stdenvNoCC.mkDerivation { pname = outbin; version = "unstable-2020-12-08"; # From https://www.speedrun.com/celestep8/resources src = fetchzip { url = "https://www.speedrun.com/static/resource/174ye.zip?v=f3dc98f"; hash = "sha256-GANHqKB0N905QJOLaePKWkUuPl9UlL1iqvkMMvw/CC8="; extension = "zip"; }; nativeBuildInputs = [ autoPatchelfHook ]; buildInputs = [ SDL2 ]; installPhase = '' runHook preInstall install -Dsm755 ${directory}/${srcbin} $out/lib/${outbin}/${outbin} install -Dm444 ${directory}/data.pod $out/lib/${outbin}/data.pod mkdir -p $out/bin ln -s $out/lib/${outbin}/${outbin} $out/bin/ runHook postInstall ''; meta = with lib; { description = "A PICO-8 platformer about climbing a mountain, made in four days${lib.optionalString practiceMod " (Practice Mod)"}"; homepage = "https://celesteclassic.github.io/"; license = licenses.unfree; platforms = platforms.linux; mainProgram = outbin; maintainers = with maintainers; [ mrtnvgr ]; sourceProvenance = with sourceTypes; [ binaryNativeCode ]; }; } pkgs/top-level/all-packages.nix +4 −0 Original line number Diff line number Diff line Loading @@ -447,6 +447,10 @@ with pkgs; ccal = callPackage ../tools/misc/ccal { }; celeste-classic-pm = pkgs.celeste-classic.override { practiceMod = true; }; cereal = cereal_1_3_0; cereal_1_3_0 = callPackage ../development/libraries/cereal/1.3.0.nix { }; cereal_1_3_2 = callPackage ../development/libraries/cereal/1.3.2.nix { }; Loading
maintainers/maintainer-list.nix +8 −0 Original line number Diff line number Diff line Loading @@ -12123,6 +12123,14 @@ github = "MrTarantoga"; githubId = 53876219; }; mrtnvgr = { name = "Egor Martynov"; github = "mrtnvgr"; githubId = 48406064; keys = [{ fingerprint = "6FAD DB43 D5A5 FE52 6835 0943 5B33 79E9 81EF 48B1"; }]; }; mrVanDalo = { email = "contact@ingolf-wagner.de"; github = "mrVanDalo"; Loading
pkgs/by-name/ce/celeste-classic/package.nix 0 → 100644 +49 −0 Original line number Diff line number Diff line { lib , stdenvNoCC , fetchzip , autoPatchelfHook , SDL2 , practiceMod ? false }: let directory = if practiceMod then "CELESTE*Practice*" else "CELESTE"; srcbin = if practiceMod then "celeste_practice_mod" else "celeste"; outbin = if practiceMod then "celeste-classic-pm" else "celeste-classic"; in stdenvNoCC.mkDerivation { pname = outbin; version = "unstable-2020-12-08"; # From https://www.speedrun.com/celestep8/resources src = fetchzip { url = "https://www.speedrun.com/static/resource/174ye.zip?v=f3dc98f"; hash = "sha256-GANHqKB0N905QJOLaePKWkUuPl9UlL1iqvkMMvw/CC8="; extension = "zip"; }; nativeBuildInputs = [ autoPatchelfHook ]; buildInputs = [ SDL2 ]; installPhase = '' runHook preInstall install -Dsm755 ${directory}/${srcbin} $out/lib/${outbin}/${outbin} install -Dm444 ${directory}/data.pod $out/lib/${outbin}/data.pod mkdir -p $out/bin ln -s $out/lib/${outbin}/${outbin} $out/bin/ runHook postInstall ''; meta = with lib; { description = "A PICO-8 platformer about climbing a mountain, made in four days${lib.optionalString practiceMod " (Practice Mod)"}"; homepage = "https://celesteclassic.github.io/"; license = licenses.unfree; platforms = platforms.linux; mainProgram = outbin; maintainers = with maintainers; [ mrtnvgr ]; sourceProvenance = with sourceTypes; [ binaryNativeCode ]; }; }
pkgs/top-level/all-packages.nix +4 −0 Original line number Diff line number Diff line Loading @@ -447,6 +447,10 @@ with pkgs; ccal = callPackage ../tools/misc/ccal { }; celeste-classic-pm = pkgs.celeste-classic.override { practiceMod = true; }; cereal = cereal_1_3_0; cereal_1_3_0 = callPackage ../development/libraries/cereal/1.3.0.nix { }; cereal_1_3_2 = callPackage ../development/libraries/cereal/1.3.2.nix { };