Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
74 changes: 74 additions & 0 deletions pkgs/by-name/fr/frozen-bubble/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
{
lib,
fetchurl,
perlPackages,
pkg-config,
SDL,
SDL_mixer,
SDL_Pango,
glib,
copyDesktopItems,
makeDesktopItem,
fetchpatch,
}:

perlPackages.buildPerlModule {
pname = "frozen-bubble";
version = "2.212";

src = fetchurl {
url = "mirror://cpan/authors/id/K/KT/KTHAKORE/Games-FrozenBubble-2.212.tar.gz";
hash = "sha256-ch4E/2nFIzBgZWv79AAqoa6t2WyVNR8MV7uFtto1owU=";
};

patches = [
./fix-compilation.patch
(fetchpatch {
# https://github.com/kthakore/frozen-bubble/pull/82
url = "https://github.com/kthakore/frozen-bubble/commit/1aacc67254a0aafd856086cc306e9f7b389c6bf4.patch?full_index=1";
hash = "sha256-RqJ+/UFv4esKWZBk0fttsEXhPMislEBTAl2oj4pLAZY=";
})
];

nativeBuildInputs = [
copyDesktopItems
pkg-config
];

buildInputs = [
glib
SDL
SDL_mixer
SDL_Pango
perlPackages.SDL
perlPackages.FileSlurp
];

propagatedBuildInputs = with perlPackages; [
AlienSDL
CompressBzip2
FileShareDir
FileWhich
IPCSystemSimple
LocaleMaketextLexicon
];

perlPreHook = "export LD=$CC";

desktopItems = [
(makeDesktopItem {
name = "frozen-bubble";
exec = "frozen-bubble";
desktopName = "Frozen Bubble";
genericName = "Frozen Bubble";
comment = "Arcade/reflex colour matching game";
categories = [ "Game" ];
})
];

meta = {
description = "Puzzle with Bubbles";
license = lib.licenses.gpl2Only;
maintainers = with lib.maintainers; [ puckipedia ];
};
}
37 changes: 0 additions & 37 deletions pkgs/games/frozen-bubble/default.nix

This file was deleted.

2 changes: 0 additions & 2 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -34431,8 +34431,6 @@ with pkgs;

frogatto = callPackage ../games/frogatto { };

frozen-bubble = callPackage ../games/frozen-bubble { };

fsg = callPackage ../games/fsg { };

gambit-chess = callPackage ../games/gambit { };
Expand Down