Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: bf7ad67ca8f2
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 8f241849c561
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Feb 12, 2021

  1. Copy the full SHA
    976ac59 View commit details
  2. Merge pull request #112716 from khumba/frozen-bubble-desktop-file

    frozen-bubble: add desktop file
    SuperSandro2000 authored Feb 12, 2021
    Copy the full SHA
    8f24184 View commit details
Showing with 15 additions and 3 deletions.
  1. +15 −3 pkgs/games/frozen-bubble/default.nix
18 changes: 15 additions & 3 deletions pkgs/games/frozen-bubble/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{ lib, fetchurl, perlPackages, pkg-config, SDL, SDL_mixer, SDL_Pango, glib }:

{ lib, fetchurl, perlPackages, pkg-config, SDL, SDL_mixer, SDL_Pango, glib
, copyDesktopItems, makeDesktopItem
}:
perlPackages.buildPerlModule {
pname = "frozen-bubble";
version = "2.212";
@@ -10,13 +11,24 @@ perlPackages.buildPerlModule {
};
patches = [ ./fix-compilation.patch ];

nativeBuildInputs = [ pkg-config ];
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.gpl2;