From d784094a8e52e6e5af419678fa04e5b7f531cf7a Mon Sep 17 00:00:00 2001 From: freezeboy Date: Fri, 10 Jul 2020 16:37:24 +0200 Subject: [PATCH 1/3] bomber: init at 19.12.3 --- pkgs/applications/kde/bomber.nix | 17 +++++++++++++++++ pkgs/applications/kde/default.nix | 1 + 2 files changed, 18 insertions(+) create mode 100644 pkgs/applications/kde/bomber.nix diff --git a/pkgs/applications/kde/bomber.nix b/pkgs/applications/kde/bomber.nix new file mode 100644 index 00000000000..bccf45fd9da --- /dev/null +++ b/pkgs/applications/kde/bomber.nix @@ -0,0 +1,17 @@ +{ mkDerivation, lib +, libkdegames, extra-cmake-modules +, kdeclarative, knewstuff +}: + +mkDerivation { + name = "bomber"; + meta = with lib; { maintainers = with maintainers; [ freezeboy ]; }; + nativeBuildInputs = [ + extra-cmake-modules + ]; + buildInputs = [ + kdeclarative + knewstuff + libkdegames + ]; +} diff --git a/pkgs/applications/kde/default.nix b/pkgs/applications/kde/default.nix index 82c653edda4..d51257dc01d 100644 --- a/pkgs/applications/kde/default.nix +++ b/pkgs/applications/kde/default.nix @@ -74,6 +74,7 @@ let akregator = callPackage ./akregator.nix {}; ark = callPackage ./ark {}; baloo-widgets = callPackage ./baloo-widgets.nix {}; + bomber = callPackage ./bomber.nix {}; calendarsupport = callPackage ./calendarsupport.nix {}; dolphin = callPackage ./dolphin.nix {}; dolphin-plugins = callPackage ./dolphin-plugins.nix {}; From 27a198add63696ba02626b88a5856ef9491381cf Mon Sep 17 00:00:00 2001 From: freezeboy Date: Sat, 11 Jul 2020 16:55:33 +0200 Subject: [PATCH 2/3] fixup meta record --- pkgs/applications/kde/bomber.nix | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/kde/bomber.nix b/pkgs/applications/kde/bomber.nix index bccf45fd9da..c3f47780259 100644 --- a/pkgs/applications/kde/bomber.nix +++ b/pkgs/applications/kde/bomber.nix @@ -5,7 +5,20 @@ mkDerivation { name = "bomber"; - meta = with lib; { maintainers = with maintainers; [ freezeboy ]; }; + meta = with lib; { + homepage = "https://kde.org/applications/en/games/org.kde.bomber"; + description = "Bomber is a single player arcade game"; + longDescription = '' + Bomber is a single player arcade game. The player is invading various + cities in a plane that is decreasing in height. + + The goal of the game is to destroy all the buildings and advance to the next level. + Each level gets a bit harder by increasing the speed of the plane and the height of the buildings. + ''; + maintainers = with maintainers; [ freezeboy ]; + license = licenses.gpl2Plus; + platforms = platforms.linux; + }; nativeBuildInputs = [ extra-cmake-modules ]; From 37b62f10e107364a44cd4753f61f97ea3953b34c Mon Sep 17 00:00:00 2001 From: freezeboy Date: Sun, 12 Jul 2020 23:16:06 +0200 Subject: [PATCH 3/3] bomber: export in all-packages --- pkgs/top-level/all-packages.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f75b3a41a2e..f4159401e4b 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -20671,7 +20671,7 @@ in recurseIntoAttrs (makeOverridable mkApplications attrs); inherit (kdeApplications) - akonadi akregator ark dolphin dragon elisa ffmpegthumbs filelight gwenview k3b + akonadi akregator ark bomber dolphin dragon elisa ffmpegthumbs filelight gwenview k3b kaddressbook kapptemplate kate kcachegrind kcalc kcharselect kcolorchooser kdenlive kdf kdialog keditbookmarks kfind kget kgpg khelpcenter kig kleopatra kmail kmix kmplot kolourpaint kompare konsole yakuake kpkpass kitinerary kontact korganizer krdc krfb ksystemlog ktouch kwalletmanager marble minuet okular spectacle;