From 207a128a69c4d5e6d5e7f60cb4f8b530eacb111b Mon Sep 17 00:00:00 2001 From: Pasquale Date: Wed, 7 Oct 2020 15:59:19 +0200 Subject: [PATCH 1/2] GameHub: init at 0.16.3-2 a --- pkgs/games/gamehub/default.nix | 67 +++++++++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 2 files changed, 69 insertions(+) create mode 100644 pkgs/games/gamehub/default.nix diff --git a/pkgs/games/gamehub/default.nix b/pkgs/games/gamehub/default.nix new file mode 100644 index 000000000000..b22446b80abc --- /dev/null +++ b/pkgs/games/gamehub/default.nix @@ -0,0 +1,67 @@ +{ stdenv +, lib +, fetchFromGitHub +, meson +, ninja +, vala +, pkg-config +, desktop-file-utils +, glib +, gtk3 +, glib-networking +, libgee +, libsoup +, json-glib +, sqlite +, webkitgtk +, libmanette +, libXtst +, wrapGAppsHook +}: + +stdenv.mkDerivation rec { + pname = "GameHub"; + version = "0.16.3-2"; + + src = fetchFromGitHub { + owner = "tkashkin"; + repo = pname; + rev = "${version}-master"; + hash = "sha256-dBGzXwDO9BvnEIcdfqlGnMzUdBqaVA96Ds0fY6eukes="; + }; + + nativeBuildInputs = [ + desktop-file-utils + meson + ninja + pkg-config + vala + wrapGAppsHook + ]; + + buildInputs = [ + glib + glib-networking + gtk3 + json-glib + libgee + libmanette + libsoup + libXtst + sqlite + webkitgtk + ]; + + meta = with lib; { + homepage = "https://tkashkin.github.io/projects/gamehub"; + description = "All your games in one place"; + longDescription = '' + GameHub is a unified library for all your games. It allows you to store + your games from different platforms into one program to make it easier + for you to manage your games. + ''; + maintainers = with maintainers; [ pasqui23 ]; + license = with licenses; [ gpl3Only ]; + platforms = platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index dfe84795999e..69d5e28a0dae 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -21748,6 +21748,8 @@ with pkgs; fusionInventory = callPackage ../servers/monitoring/fusion-inventory { }; + gamehub = callPackage ../games/gamehub { }; + gatling = callPackage ../servers/http/gatling { }; gitlab-pages = callPackage ../servers/http/gitlab-pages { }; From e4c6c49cf7406e4e7f973488ca60cc7744d4c0da Mon Sep 17 00:00:00 2001 From: pasqui23 Date: Sat, 18 Jun 2022 14:47:36 +0000 Subject: [PATCH 2/2] GameHub: better description from @AnsersonTorres Co-authored-by: Anderson Torres --- pkgs/games/gamehub/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/games/gamehub/default.nix b/pkgs/games/gamehub/default.nix index b22446b80abc..87796d58c732 100644 --- a/pkgs/games/gamehub/default.nix +++ b/pkgs/games/gamehub/default.nix @@ -54,7 +54,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://tkashkin.github.io/projects/gamehub"; - description = "All your games in one place"; + description = "Unified library for all your games"; longDescription = '' GameHub is a unified library for all your games. It allows you to store your games from different platforms into one program to make it easier