From 49d8c701135792fe257c199a2dd2a8486b4a5e64 Mon Sep 17 00:00:00 2001 From: freezeboy Date: Fri, 10 Jul 2020 16:40:15 +0200 Subject: [PATCH 1/3] granatier: init at 19.12.3 --- pkgs/applications/kde/default.nix | 1 + pkgs/applications/kde/granatier.nix | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 pkgs/applications/kde/granatier.nix diff --git a/pkgs/applications/kde/default.nix b/pkgs/applications/kde/default.nix index 82c653edda4..94aa11d8d1f 100644 --- a/pkgs/applications/kde/default.nix +++ b/pkgs/applications/kde/default.nix @@ -82,6 +82,7 @@ let eventviews = callPackage ./eventviews.nix {}; ffmpegthumbs = callPackage ./ffmpegthumbs.nix { }; filelight = callPackage ./filelight.nix {}; + granatier = callPackage ./granatier.nix {}; grantleetheme = callPackage ./grantleetheme {}; gwenview = callPackage ./gwenview.nix {}; incidenceeditor = callPackage ./incidenceeditor.nix {}; diff --git a/pkgs/applications/kde/granatier.nix b/pkgs/applications/kde/granatier.nix new file mode 100644 index 00000000000..1106311e310 --- /dev/null +++ b/pkgs/applications/kde/granatier.nix @@ -0,0 +1,17 @@ +{ mkDerivation, lib +, libkdegames, extra-cmake-modules +, kdeclarative, knewstuff +}: + +mkDerivation { + name = "granatier"; + meta = with lib; { maintainers = with maintainers; [ freezeboy ]; }; + nativeBuildInputs = [ + extra-cmake-modules + ]; + buildInputs = [ + kdeclarative + knewstuff + libkdegames + ]; +} From bf6559d0084fa5defbb79636cc01d79b877a15a8 Mon Sep 17 00:00:00 2001 From: freezeboy Date: Sat, 11 Jul 2020 16:42:25 +0200 Subject: [PATCH 2/3] fixup meta record --- pkgs/applications/kde/granatier.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/kde/granatier.nix b/pkgs/applications/kde/granatier.nix index 1106311e310..f0b7cde5b2c 100644 --- a/pkgs/applications/kde/granatier.nix +++ b/pkgs/applications/kde/granatier.nix @@ -5,7 +5,13 @@ mkDerivation { name = "granatier"; - meta = with lib; { maintainers = with maintainers; [ freezeboy ]; }; + meta = with lib; { + homepage = "https://kde.org/applications/en/games/org.kde.granatier"; + description = "Granatier is a clone of the classic Bomberman game"; + maintainers = with maintainers; [ freezeboy ]; + license = licenses.gpl2Plus; + platforms = platforms.linux; + }; nativeBuildInputs = [ extra-cmake-modules ]; From 380becdef2a288d280659380e9e027199334f08d Mon Sep 17 00:00:00 2001 From: freezeboy Date: Sun, 12 Jul 2020 23:13:14 +0200 Subject: [PATCH 3/3] granatier: 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..9d2ac8982dd 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 dolphin dragon elisa ffmpegthumbs filelight granatier 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;